Annual report pursuant to Section 13 and 15(d)

Common Stock - Additional Information 1 (Detail)

v2.4.1.9
Common Stock - Additional Information 1 (Detail) (USD $)
12 Months Ended
Dec. 31, 2014
Right
Dec. 31, 2013
Dec. 31, 2012
Dec. 31, 2011
Oct. 22, 2010
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Weighted average fair value of stock options granted $ 6.52us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue $ 8.07us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue $ 9.86us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue    
Unrecognized compensation expense related to stock options granted $ 2,700,000us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions        
Estimated grant date fair value of stock options vested 1,900,000us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1 1,800,000us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1 1,600,000us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1    
Aggregate intrinsic value of options exercised 51,100us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue 34,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue 1,200,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue    
Aggregate intrinsic value of the outstanding options 4,680us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue        
Aggregate intrinsic value of the exercisable outstanding options 0us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableAggregateIntrinsicValue        
Exercise price per unit of warrant         $ 20us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
Common shares purchased, value 2,860,000us-gaap_StockIssuedDuringPeriodValueNewIssues        
Number Of Warrants Exercised   0ogxi_NumberOfWarrantsExercised      
Reverse stock split One-for-eighteen reverse stock split        
Percentage of acquisition of company's common stock 15.00%ogxi_ShareholderRightsPlanToAcquireAdditionalSharesOfCommonStock        
Number of rights per share of common stock 18ogxi_NumberOfRightsAssociatedWithPerShareOfCommonStock        
Effect on diluted per share on options, restricted stock units and warrants 7,000,000us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount 3,000,000us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount 2,600,000us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount    
Series A preferred stock [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Exercise price per Share $ 140us-gaap_SharePrice
/ us-gaap_StatementClassOfStockAxis
= us-gaap_SeriesAPreferredStockMember
       
Shareholder rights plan description One one-hundredth        
Series A Warrants [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Exercise price per unit of warrant $ 4.00us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
/ us-gaap_ClassOfWarrantOrRightAxis
= ogxi_SeriesAWarrantMember
       
Number Of Warrants Exercised 0ogxi_NumberOfWarrantsExercised
/ us-gaap_ClassOfWarrantOrRightAxis
= ogxi_SeriesAWarrantMember
       
Series B Warrants [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Exercise price per unit of warrant $ 4.00us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
/ us-gaap_ClassOfWarrantOrRightAxis
= ogxi_SeriesBWarrantMember
       
Number Of Warrants Exercised 0ogxi_NumberOfWarrantsExercised
/ us-gaap_ClassOfWarrantOrRightAxis
= ogxi_SeriesBWarrantMember
       
Pre-Funded Series B Warrants [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Exercise price per unit of warrant $ 0.01us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
/ us-gaap_StatementEquityComponentsAxis
= ogxi_PreFundedWarrantMember
       
Common shares purchased 1,340,538us-gaap_StockIssuedDuringPeriodSharesNewIssues
/ us-gaap_StatementEquityComponentsAxis
= ogxi_PreFundedWarrantMember
       
Common shares purchased, value 13,405us-gaap_StockIssuedDuringPeriodValueNewIssues
/ us-gaap_StatementEquityComponentsAxis
= ogxi_PreFundedWarrantMember
       
Warrant [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Exercise price per unit of warrant $ 20.00us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_WarrantMember
       
Number Of Warrants Exercised 0ogxi_NumberOfWarrantsExercised
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_WarrantMember
       
Stock options [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Weighted-average period, restricted stock awards 2 years 6 months        
Stock options [Member] | Minimum [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Award expiration period 7 years        
Stock options [Member] | Maximum          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Award expiration period 10 years        
Stock options [Member] | Employees and consultants [Member] | Minimum [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Award vesting period 3 years        
Stock options [Member] | Employees and consultants [Member] | Maximum          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Award vesting period 4 years        
Stock options [Member] | Board of Directors [Member] | Minimum [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Award vesting period 1 year        
Stock options [Member] | Board of Directors [Member] | Maximum          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Award vesting period 3 years        
Restricted stock unit awards [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Award vesting period 4 years        
Weighted-average period, restricted stock awards 2 years 9 months 18 days        
Stock based compensation expense 2,200,000us-gaap_AllocatedShareBasedCompensationExpense
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
1,100,000us-gaap_AllocatedShareBasedCompensationExpense
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
  600,000us-gaap_AllocatedShareBasedCompensationExpense
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
 
Total unrecognized compensation expense related to the Company's restricted stock unit awards $ 3,500,000us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember