Annual report pursuant to Section 13 and 15(d)

Subsequent Events - Additional Information (Detail)

v2.4.1.9
Subsequent Events - Additional Information (Detail) (USD $)
1 Months Ended
Feb. 28, 2015
Dec. 31, 2014
Feb. 01, 2015
Subsequent Event [Line Items]      
Lease termination liability   $ 3,250,000ogxi_LeaseTerminationLiabilityCurrent  
BMR-217TH Place LLC      
Subsequent Event [Line Items]      
Lease termination liability   1,300,000ogxi_LeaseTerminationLiabilityCurrent
/ us-gaap_CounterpartyNameAxis
= ogxi_BMR217THPlaceLLCMember
 
Subsequent Event | BMR-217TH Place LLC      
Subsequent Event [Line Items]      
Lease termination agreement, date of termination Mar. 01, 2015    
Aggregate amount of funding received 20,000,000ogxi_FundingReceivableAggregateAmount
/ us-gaap_CounterpartyNameAxis
= ogxi_BMR217THPlaceLLCMember
/ us-gaap_SubsequentEventTypeAxis
= us-gaap_SubsequentEventMember
   
Letter of credit drawn to pay deferred state sales tax 100,000ogxi_PaymentDeferredSalesTax
/ us-gaap_CounterpartyNameAxis
= ogxi_BMR217THPlaceLLCMember
/ us-gaap_SubsequentEventTypeAxis
= us-gaap_SubsequentEventMember
   
Subsequent Event | BMR-217TH Place LLC | Termination Fee [Member]      
Subsequent Event [Line Items]      
Lease termination agreement, fee payable 2,000,000us-gaap_LossOnContractTermination
/ us-gaap_CounterpartyNameAxis
= ogxi_BMR217THPlaceLLCMember
/ us-gaap_LeaseArrangementTypeAxis
= ogxi_TerminationFeeMember
/ us-gaap_SubsequentEventTypeAxis
= us-gaap_SubsequentEventMember
   
Subsequent Event | BMR-217TH Place LLC | Contingent Fee [Member]      
Subsequent Event [Line Items]      
Lease termination agreement, fee payable 1,300,000us-gaap_LossOnContractTermination
/ us-gaap_CounterpartyNameAxis
= ogxi_BMR217THPlaceLLCMember
/ us-gaap_LeaseArrangementTypeAxis
= ogxi_ContingentFeeMember
/ us-gaap_SubsequentEventTypeAxis
= us-gaap_SubsequentEventMember
   
Subsequent Event | Grosvenor International Limited      
Subsequent Event [Line Items]      
Area of office space leased 11,526ogxi_AreaOfOfficeSpaceLeased
/ us-gaap_CounterpartyNameAxis
= ogxi_GrosvenorInternationalLimitedMember
/ us-gaap_SubsequentEventTypeAxis
= us-gaap_SubsequentEventMember
   
Additional area of office space available to lease, optional 8,054ogxi_AdditionalAreaOfOfficeSpaceAvailableToLeaseOptional
/ us-gaap_CounterpartyNameAxis
= ogxi_GrosvenorInternationalLimitedMember
/ us-gaap_SubsequentEventTypeAxis
= us-gaap_SubsequentEventMember
   
Expiration date of option to lease additional area of office space Aug. 01, 2015    
Lease expiration date Apr. 30, 2018    
Optional lease renewal 3 years    
Monthly base rent commencement date May 01, 2015    
Lease agreement, construction allowance receivable     100,000us-gaap_LeaseIncentiveReceivable
/ us-gaap_CounterpartyNameAxis
= ogxi_GrosvenorInternationalLimitedMember
/ us-gaap_SubsequentEventTypeAxis
= us-gaap_SubsequentEventMember
Lessee's share of property tax percentage. 17.11%ogxi_LesseePropertyTaxPercentageShare
/ us-gaap_CounterpartyNameAxis
= ogxi_GrosvenorInternationalLimitedMember
/ us-gaap_SubsequentEventTypeAxis
= us-gaap_SubsequentEventMember
   
Deposit amount under lease agreement     200,000us-gaap_DepositsAssets
/ us-gaap_CounterpartyNameAxis
= ogxi_GrosvenorInternationalLimitedMember
/ us-gaap_SubsequentEventTypeAxis
= us-gaap_SubsequentEventMember
Subsequent Event | Grosvenor International Limited | Minimum [Member]      
Subsequent Event [Line Items]      
Monthly base rent 18,000us-gaap_LeaseAndRentalExpense
/ us-gaap_CounterpartyNameAxis
= ogxi_GrosvenorInternationalLimitedMember
/ us-gaap_RangeAxis
= us-gaap_MinimumMember
/ us-gaap_SubsequentEventTypeAxis
= us-gaap_SubsequentEventMember
   
Subsequent Event | Grosvenor International Limited | Maximum      
Subsequent Event [Line Items]      
Monthly base rent $ 20,000us-gaap_LeaseAndRentalExpense
/ us-gaap_CounterpartyNameAxis
= ogxi_GrosvenorInternationalLimitedMember
/ us-gaap_RangeAxis
= us-gaap_MaximumMember
/ us-gaap_SubsequentEventTypeAxis
= us-gaap_SubsequentEventMember