Stock-Based Compensation (Details) (USD $)
|
3 Months Ended |
9 Months Ended |
Apr. 30, 2015
|
Apr. 30, 2014
|
Apr. 30, 2015
|
Apr. 30, 2014
|
Stock-based compensation |
|
|
|
|
Expected volatility, minimum (as a percent) |
87.68%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum
|
88.65%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum
|
87.68%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum
|
83.62%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum
|
Expected volatility, maximum (as a percent) |
117.51%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum
|
91.96%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum
|
117.51%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum
|
92.52%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum
|
Risk-free interest rate, minimum (as a percent) |
0.87%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum
|
1.46%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum
|
0.40%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum
|
0.69%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum
|
Risk-free interest rate, maximum (as a percent) |
1.86%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum
|
2.78%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum
|
2.13%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum
|
2.78%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 |
$ 628,000us-gaap_AllocatedShareBasedCompensationExpense
|
$ 1,105,000us-gaap_AllocatedShareBasedCompensationExpense
|
$ 1,700,000us-gaap_AllocatedShareBasedCompensationExpense
|
$ 1,397,000us-gaap_AllocatedShareBasedCompensationExpense
|
Minimum |
|
|
|
|
Stock-based compensation |
|
|
|
|
Expected term |
3 years
|
5 years
|
2 years
|
3 years
|
Maximum |
|
|
|
|
Stock-based compensation |
|
|
|
|
Expected term |
6 years 6 months
|
10 years
|
6 years 6 months
|
10 years
|
Research and development expense. |
|
|
|
|
Stock-based compensation |
|
|
|
|
Stock-based compensation expense recognized |
279,000us-gaap_AllocatedShareBasedCompensationExpense / us-gaap_IncomeStatementLocationAxis = us-gaap_ResearchAndDevelopmentExpenseMember
|
374,000us-gaap_AllocatedShareBasedCompensationExpense / us-gaap_IncomeStatementLocationAxis = us-gaap_ResearchAndDevelopmentExpenseMember
|
761,000us-gaap_AllocatedShareBasedCompensationExpense / us-gaap_IncomeStatementLocationAxis = us-gaap_ResearchAndDevelopmentExpenseMember
|
536,000us-gaap_AllocatedShareBasedCompensationExpense / us-gaap_IncomeStatementLocationAxis = us-gaap_ResearchAndDevelopmentExpenseMember
|
General and administrative expenses. |
|
|
|
|
Stock-based compensation |
|
|
|
|
Stock-based compensation expense recognized |
$ 349,000us-gaap_AllocatedShareBasedCompensationExpense / us-gaap_IncomeStatementLocationAxis = us-gaap_GeneralAndAdministrativeExpenseMember
|
$ 731,000us-gaap_AllocatedShareBasedCompensationExpense / us-gaap_IncomeStatementLocationAxis = us-gaap_GeneralAndAdministrativeExpenseMember
|
$ 949,000us-gaap_AllocatedShareBasedCompensationExpense / us-gaap_IncomeStatementLocationAxis = us-gaap_GeneralAndAdministrativeExpenseMember
|
$ 861,000us-gaap_AllocatedShareBasedCompensationExpense / us-gaap_IncomeStatementLocationAxis = us-gaap_GeneralAndAdministrativeExpenseMember
|
2011 Plan | Employees |
|
|
|
|
Stock-based compensation |
|
|
|
|
Term of stock options |
10 years
|
|
10 years
|
|
Options granted to purchase shares |
184,750us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross / us-gaap_PlanNameAxis = oncs_Plan2011Member / us-gaap_TitleOfIndividualAxis = oncs_EmployeeMember
|
|
338,500us-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) |
$ 6.60us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit / us-gaap_PlanNameAxis = oncs_Plan2011Member / us-gaap_TitleOfIndividualAxis = oncs_EmployeeMember
|
|
$ 7.30us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit / us-gaap_PlanNameAxis = oncs_Plan2011Member / us-gaap_TitleOfIndividualAxis = oncs_EmployeeMember
|
|
Exercise price, high end of the range (in dollars per share) |
$ 7.60us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit / us-gaap_PlanNameAxis = oncs_Plan2011Member / us-gaap_TitleOfIndividualAxis = oncs_EmployeeMember
|
|
$ 10.60us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit / us-gaap_PlanNameAxis = oncs_Plan2011Member / us-gaap_TitleOfIndividualAxis = oncs_EmployeeMember
|
|
2011 Plan | Employees | Minimum |
|
|
|
|
Stock-based compensation |
|
|
|
|
Vesting period |
|
|
1 year
|
|
2011 Plan | Employees | Maximum |
|
|
|
|
Stock-based compensation |
|
|
|
|
Vesting period |
|
|
3 years
|
|
2011 Plan | Consultants |
|
|
|
|
Stock-based compensation |
|
|
|
|
Options granted to purchase shares |
|
|
30,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross / us-gaap_PlanNameAxis = oncs_Plan2011Member / us-gaap_TitleOfIndividualAxis = oncs_ConsultantsMember
|
|
Exercise price, low end of the range (in dollars per share) |
|
|
$ 6.60us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit / us-gaap_PlanNameAxis = oncs_Plan2011Member / us-gaap_TitleOfIndividualAxis = oncs_ConsultantsMember
|
|
Exercise price, high end of the range (in dollars per share) |
|
|
$ 8.60us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit / us-gaap_PlanNameAxis = oncs_Plan2011Member / us-gaap_TitleOfIndividualAxis = oncs_ConsultantsMember
|
|
2011 Plan | Consultants | Minimum |
|
|
|
|
Stock-based compensation |
|
|
|
|
Term of stock options |
|
|
1 year
|
|
2011 Plan | Consultants | Maximum |
|
|
|
|
Stock-based compensation |
|
|
|
|
Term of stock options |
|
|
3 years
|
|
2011 Plan | Employees and directors |
|
|
|
|
Stock-based compensation |
|
|
|
|
Term of stock options |
|
10 years
|
|
|
Options granted to purchase shares |
|
111,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross / us-gaap_PlanNameAxis = oncs_Plan2011Member / us-gaap_TitleOfIndividualAxis = oncs_EmployeeAndDirectorMember
|
|
|
Exercise price, low end of the range (in dollars per share) |
|
$ 9.00us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit / us-gaap_PlanNameAxis = oncs_Plan2011Member / us-gaap_TitleOfIndividualAxis = oncs_EmployeeAndDirectorMember
|
|
|
Exercise price, high end of the range (in dollars per share) |
|
$ 16.10us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit / us-gaap_PlanNameAxis = oncs_Plan2011Member / us-gaap_TitleOfIndividualAxis = oncs_EmployeeAndDirectorMember
|
|
|
2011 Plan | Employees and directors | Minimum |
|
|
|
|
Stock-based compensation |
|
|
|
|
Vesting period |
|
2 years
|
|
|
2011 Plan | Employees and directors | Maximum |
|
|
|
|
Stock-based compensation |
|
|
|
|
Vesting period |
|
3 years
|
|
|
Outside 2011 Plan | Certain Key Employees and Consultants |
|
|
|
|
Stock-based compensation |
|
|
|
|
Term of stock options |
|
10 years
|
|
|
Exercise price, low end of the range (in dollars per share) |
|
$ 9.00us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit / us-gaap_PlanNameAxis = oncs_Outside2011PlanMember / us-gaap_TitleOfIndividualAxis = oncs_CertainKeyEmployeeAndConsultantMember
|
|
|
Exercise price, high end of the range (in dollars per share) |
|
$ 16.10us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit / us-gaap_PlanNameAxis = oncs_Outside2011PlanMember / us-gaap_TitleOfIndividualAxis = oncs_CertainKeyEmployeeAndConsultantMember
|
|
|
Outside 2011 Plan | Certain Key Employees and Consultants | Minimum |
|
|
|
|
Stock-based compensation |
|
|
|
|
Vesting period |
|
2 years
|
|
|
Outside 2011 Plan | Certain Key Employees and Consultants | Maximum |
|
|
|
|
Stock-based compensation |
|
|
|
|
Options granted to purchase shares |
|
200,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross / us-gaap_PlanNameAxis = oncs_Outside2011PlanMember / us-gaap_RangeAxis = us-gaap_MaximumMember / us-gaap_TitleOfIndividualAxis = oncs_CertainKeyEmployeeAndConsultantMember
|
|
|
Vesting period |
|
3 years
|
|
|