Annual report pursuant to Section 13 and 15(d)

Accounting Policies - Additional Information (Detail)

v2.4.1.9
Accounting Policies - Additional Information (Detail) (USD $)
12 Months Ended
Dec. 31, 2014
segment
Dec. 31, 2012
Dec. 31, 2009
Accounting Policies [Line Items]      
Maturity period of liquid investments 3 months    
Maturity period of financial instruments Greater than three months and less than one year    
Direct and indirect development costs $ 30,000,000ogxi_AmountToBeSpentInDirectAndIndirectDevelopmentCostsUnderAgreement    
Revenue recognized on a proportional performance basis under the collaboration agreement   30,000,000us-gaap_DeferredRevenueRevenueRecognized  
Revenue recognized     22,000,000us-gaap_LicensesRevenue
Achievement of developmental and commercial milestones 370,000,000ogxi_CollaborationMaximumAdditionalPaymentReceivedAchievementOfDevelopmentalAndCommercialMilestones    
Redemption period 1 year 1 year  
Gain on non-monetary transaction   $ 151,000us-gaap_NonmonetaryTransactionGainLossRecognizedOnTransfer  
Number of operating segments 1us-gaap_NumberOfOperatingSegments    
Restricted stock unit awards [Member]      
Accounting Policies [Line Items]      
Award vesting period 4 years