Stock-Based Compensation (Details) (USD $)
|
3 Months Ended |
6 Months Ended |
Jan. 31, 2015
|
Jan. 31, 2014
|
Jan. 31, 2015
|
Jan. 31, 2014
|
Stock-based compensation |
|
|
|
|
Expected volatility, minimum (as a percent) |
90.35%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum
|
91.99%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum
|
88.82%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum
|
83.62%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum
|
Expected volatility, maximum (as a percent) |
91.86%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum
|
92.62%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum
|
93.11%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum
|
92.52%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum
|
Risk-free interest rate, minimum (as a percent) |
1.31%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum
|
1.67%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum
|
0.36%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum
|
0.69%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum
|
Risk-free interest rate, maximum (as a percent) |
1.94%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum
|
1.87%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum
|
2.13%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum
|
1.87%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum
|
Expected forfeiture rate (as a percent) |
0.00%oncs_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedForfeitureRate
|
0.00%oncs_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedForfeitureRate
|
0.00%oncs_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedForfeitureRate
|
0.00%oncs_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedForfeitureRate
|
Stock-based compensation expense recognized |
$ 405,000us-gaap_AllocatedShareBasedCompensationExpense
|
$ 221,000us-gaap_AllocatedShareBasedCompensationExpense
|
$ 1,017,000us-gaap_AllocatedShareBasedCompensationExpense
|
$ 292,000us-gaap_AllocatedShareBasedCompensationExpense
|
Minimum |
|
|
|
|
Stock-based compensation |
|
|
|
|
Expected term |
5 years
|
5 years
|
2 years
|
3 years
|
Maximum |
|
|
|
|
Stock-based compensation |
|
|
|
|
Expected term |
6 years 6 months
|
6 years
|
6 years 6 months
|
6 years
|
Research and development expense. |
|
|
|
|
Stock-based compensation |
|
|
|
|
Stock-based compensation expense recognized |
166,000us-gaap_AllocatedShareBasedCompensationExpense / us-gaap_IncomeStatementLocationAxis = us-gaap_ResearchAndDevelopmentExpenseMember
|
155,000us-gaap_AllocatedShareBasedCompensationExpense / us-gaap_IncomeStatementLocationAxis = us-gaap_ResearchAndDevelopmentExpenseMember
|
482,000us-gaap_AllocatedShareBasedCompensationExpense / us-gaap_IncomeStatementLocationAxis = us-gaap_ResearchAndDevelopmentExpenseMember
|
163,000us-gaap_AllocatedShareBasedCompensationExpense / us-gaap_IncomeStatementLocationAxis = us-gaap_ResearchAndDevelopmentExpenseMember
|
General and administrative expenses. |
|
|
|
|
Stock-based compensation |
|
|
|
|
Stock-based compensation expense recognized |
$ 239,000us-gaap_AllocatedShareBasedCompensationExpense / us-gaap_IncomeStatementLocationAxis = us-gaap_GeneralAndAdministrativeExpenseMember
|
$ 66,000us-gaap_AllocatedShareBasedCompensationExpense / us-gaap_IncomeStatementLocationAxis = us-gaap_GeneralAndAdministrativeExpenseMember
|
$ 535,000us-gaap_AllocatedShareBasedCompensationExpense / us-gaap_IncomeStatementLocationAxis = us-gaap_GeneralAndAdministrativeExpenseMember
|
$ 129,000us-gaap_AllocatedShareBasedCompensationExpense / us-gaap_IncomeStatementLocationAxis = us-gaap_GeneralAndAdministrativeExpenseMember
|
2011 Plan | Employees |
|
|
|
|
Stock-based compensation |
|
|
|
|
Term of stock options |
10 years
|
10 years
|
10 years
|
|
Options granted to purchase shares |
425,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross / us-gaap_PlanNameAxis = oncs_Plan2011Member / us-gaap_TitleOfIndividualAxis = oncs_EmployeeMember
|
75,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross / us-gaap_PlanNameAxis = oncs_Plan2011Member / us-gaap_TitleOfIndividualAxis = oncs_EmployeeMember
|
2,575,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross / us-gaap_PlanNameAxis = oncs_Plan2011Member / us-gaap_TitleOfIndividualAxis = oncs_EmployeeMember
|
|
Vesting period |
3 years
|
|
|
|
Exercise price, low end of the range (in dollars per share) |
$ 0.39us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit / us-gaap_PlanNameAxis = oncs_Plan2011Member / us-gaap_TitleOfIndividualAxis = oncs_EmployeeMember
|
$ 0.31us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit / us-gaap_PlanNameAxis = oncs_Plan2011Member / us-gaap_TitleOfIndividualAxis = oncs_EmployeeMember
|
$ 0.41us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit / us-gaap_PlanNameAxis = oncs_Plan2011Member / us-gaap_TitleOfIndividualAxis = oncs_EmployeeMember
|
|
Exercise price, high end of the range (in dollars per share) |
$ 0.53us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit / us-gaap_PlanNameAxis = oncs_Plan2011Member / us-gaap_TitleOfIndividualAxis = oncs_EmployeeMember
|
$ 0.54us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit / us-gaap_PlanNameAxis = oncs_Plan2011Member / us-gaap_TitleOfIndividualAxis = oncs_EmployeeMember
|
$ 0.53us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit / us-gaap_PlanNameAxis = oncs_Plan2011Member / us-gaap_TitleOfIndividualAxis = oncs_EmployeeMember
|
|
2011 Plan | Employees | Minimum |
|
|
|
|
Stock-based compensation |
|
|
|
|
Vesting period |
|
2 years
|
1 year
|
|
2011 Plan | Employees | Maximum |
|
|
|
|
Stock-based compensation |
|
|
|
|
Vesting period |
|
3 years
|
3 years
|
|
2011 Plan | Consultant |
|
|
|
|
Stock-based compensation |
|
|
|
|
Options granted to purchase shares |
|
|
500,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross / us-gaap_PlanNameAxis = oncs_Plan2011Member / us-gaap_TitleOfIndividualAxis = oncs_ConsultantsMember
|
|
Exercise price, low end of the range (in dollars per share) |
|
|
$ 0.39us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit / us-gaap_PlanNameAxis = oncs_Plan2011Member / us-gaap_TitleOfIndividualAxis = oncs_ConsultantsMember
|
|
Exercise price, high end of the range (in dollars per share) |
|
|
$ 0.43us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit / us-gaap_PlanNameAxis = oncs_Plan2011Member / us-gaap_TitleOfIndividualAxis = oncs_ConsultantsMember
|
|
2011 Plan | Consultant | Minimum |
|
|
|
|
Stock-based compensation |
|
|
|
|
Term of stock options |
|
|
1 year
|
|
2011 Plan | Consultant | Maximum |
|
|
|
|
Stock-based compensation |
|
|
|
|
Term of stock options |
|
|
3 years
|
|
Outside 2011 Plan | Officer |
|
|
|
|
Stock-based compensation |
|
|
|
|
Term of stock options |
|
10 years
|
|
|
Exercise price, low end of the range (in dollars per share) |
|
$ 0.31us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit / us-gaap_PlanNameAxis = oncs_Outside2011PlanMember / us-gaap_TitleOfIndividualAxis = us-gaap_OfficerMember
|
|
|
Exercise price, high end of the range (in dollars per share) |
|
$ 0.54us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit / us-gaap_PlanNameAxis = oncs_Outside2011PlanMember / us-gaap_TitleOfIndividualAxis = us-gaap_OfficerMember
|
|
|
Outside 2011 Plan | Officer | Minimum |
|
|
|
|
Stock-based compensation |
|
|
|
|
Vesting period |
|
2 years
|
|
|
Outside 2011 Plan | Officer | Maximum |
|
|
|
|
Stock-based compensation |
|
|
|
|
Options granted to purchase shares |
|
1,700,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross / us-gaap_PlanNameAxis = oncs_Outside2011PlanMember / us-gaap_RangeAxis = us-gaap_MaximumMember / us-gaap_TitleOfIndividualAxis = us-gaap_OfficerMember
|
|
|
Vesting period |
|
3 years
|
|
|