2.4.0.80603 - Disclosure - Collaboration Agreement (Details Textual)truefalsefalse1falsefalsefalseOneMonthEnded_31Dec2009http://www.sec.gov/CIK0000949858duration2009-12-01T00:00:002009-12-31T00:00:002falseUSDfalsefalse$ThreeMonthsEnded_30Jun2013http://www.sec.gov/CIK0000949858duration2013-04-01T00:00:002013-06-30T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3falseUSDfalsefalse$ThreeMonthsEnded_30Jun2012http://www.sec.gov/CIK0000949858duration2012-04-01T00:00:002012-06-30T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$4falseUSDfalsefalse$Jan_01_2013_Jun_30_2013http://www.sec.gov/CIK0000949858duration2013-01-01T00:00:002013-06-30T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$5falseUSDfalsefalse$SixMonthsEnded_30Jun2012http://www.sec.gov/CIK0000949858duration2012-01-01T00:00:002012-06-30T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$6falseUSDfalsefalse$BalanceAsOf_31Dec2012http://www.sec.gov/CIK0000949858instant2012-12-31T00:00:000001-01-01T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true4ogxi_CollaborationAgreementTextualAbstractogxi_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false5us-gaap_CommonStockValueus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse1500015000USD$falsetruefalse3falsefalsefalse00falsefalsefalse4truefalsefalse1500015000USD$falsetruefalse5falsefalsefalse00falsefalsefalse6truefalsefalse1500015000USD$falsetruefalsexbrli:monetaryItemTypemonetaryAggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.29)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 30
-Article 5
false23false5us-gaap_ResearchAndDevelopmentExpenseus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse1326300013263000falsefalsefalse3truefalsefalse63260006326000falsefalsefalse4truefalsefalse2411800024118000falsefalsefalse5truefalsefalse1140800011408000falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe aggregate costs incurred (1) in a planned search or critical investigation aimed at discovery of new knowledge with the hope that such knowledge will be useful in developing a new product or service, a new process or technique, or in bringing about a significant improvement to an existing product or process; or (2) to translate research findings or other knowledge into a plan or design for a new product or process or for a significant improvement to an existing product or process whether intended for sale or the entity's use, during the reporting period charged to research and development projects, including the costs of developing computer software up to the point in time of achieving technological feasibility, and costs allocated in accounting for a business combination to in-process projects deemed to have no alternative future use.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 985
-SubTopic 20
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6501960&loc=d3e128462-111756
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 730
-SubTopic 10
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6420194&loc=d3e21568-108373
false24false5us-gaap_AccountsReceivableNetCurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse64390006439000falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse64390006439000falsefalsefalse5falsefalsefalse00falsefalsefalse6truefalsefalse714000714000falsefalsefalsexbrli:monetaryItemTypemonetaryAmount due from customers or clients, within one year of the balance sheet date (or the normal operating cycle, whichever is longer), for goods or services (including trade receivables) that have been delivered or sold in the normal course of business, reduced to the estimated net realizable fair value by an allowance established by the entity of the amount it deems uncertain of collection.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.3-4)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 3
-Subparagraph a(1)
-Article 5
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 4
-Article 5
false25true2ogxi_CollaborationAgreementAdditionalTextualAbstractogxi_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse06false3ogxi_AveragePremiumPeriodogxi_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse0030 daysfalsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaAverage premium period.No definition available.false07false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falseUSDtruefalse$OneMonthEnded_31Dec2009_Teva_Pharmaceutical_Industries_Memberhttp://www.sec.gov/CIK0000949858duration2009-12-01T00:00:002009-12-31T00:00:00falsefalseTEVA Pharmaceutical Industries Ltd. [Member]us-gaap_RelatedPartyTransactionsByRelatedPartyAxisxbrldihttp://xbrl.org/2006/xbrldiogxi_TevaPharmaceuticalIndustriesMemberus-gaap_RelatedPartyTransactionsByRelatedPartyAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse08true4ogxi_CollaborationAgreementTextualAbstractogxi_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse09false5ogxi_ProceedsFromRelatedPartyCollaborationogxi_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse5000000050000000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryProceeds from related party collaboration.No definition available.false210false5ogxi_CollaborationMaximumAdditionalPaymentReceivedAchievementOfDevelopmentalAndCommercialMilestonesogxi_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse370000000370000000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryCollaboration maximum additional payment received achievement of developmental and commercial milestones.No definition available.false211false5us-gaap_CommonStockValueus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse1000000010000000USD$falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse1000000010000000USD$falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.29)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 30
-Article 5
false212false5ogxi_PeriodOfAuthorizationChangeogxi_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse0090 daysfalsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaPeriod of authorization change.No definition available.false013false5ogxi_RoyaltiesAtPercentageRatesRangingogxi_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00Mid-teens to mid-twenties on net salesfalsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringRoyalties at percentage rates ranging.No definition available.false014false5ogxi_ExpirationOfRoyaltiesogxi_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse0010 yearsfalsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaExpiration of royalties.No definition available.false015false5us-gaap_AccountsReceivableNetCurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse64390006439000USD$falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse64390006439000USD$falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount due from customers or clients, within one year of the balance sheet date (or the normal operating cycle, whichever is longer), for goods or services (including trade receivables) that have been delivered or sold in the normal course of business, reduced to the estimated net realizable fair value by an allowance established by the entity of the amount it deems uncertain of collection.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.3-4)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 3
-Subparagraph a(1)
-Article 5
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 4
-Article 5
false216false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse9falseUSDtruefalse$OneMonthEnded_31Dec2009_Isis_Pharmaceuticals_Inc_And_University_Of_British_Columbia_Memberhttp://www.sec.gov/CIK0000949858duration2009-12-01T00:00:002009-12-31T00:00:00falsefalseIsis Pharmaceuticals Inc. and University of British Columbia [Member]us-gaap_RelatedPartyTransactionsByRelatedPartyAxisxbrldihttp://xbrl.org/2006/xbrldiogxi_IsisPharmaceuticalsIncAndUniversityOfBritishColumbiaMemberus-gaap_RelatedPartyTransactionsByRelatedPartyAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse017true4ogxi_CollaborationAgreementTextualAbstractogxi_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse018false5us-gaap_ResearchAndDevelopmentExpenseus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse1000000010000000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe aggregate costs incurred (1) in a planned search or critical investigation aimed at discovery of new knowledge with the hope that such knowledge will be useful in developing a new product or service, a new process or technique, or in bringing about a significant improvement to an existing product or process; or (2) to translate research findings or other knowledge into a plan or design for a new product or process or for a significant improvement to an existing product or process whether intended for sale or the entity's use, during the reporting period charged to research and development projects, including the costs of developing computer software up to the point in time of achieving technological feasibility, and costs allocated in accounting for a business combination to in-process projects deemed to have no alternative future use.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 985
-SubTopic 20
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6501960&loc=d3e128462-111756
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 730
-SubTopic 10
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6420194&loc=d3e21568-108373
false219false5ogxi_ExpectedRoyaltyPaymentInCurrentYearogxi_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse00USD$falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse00USD$falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryExpected royalty payment in current year.No definition available.false220false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse11falsetruefalseSixMonthsEnded_30Jun2013_Teva_Pharmaceutical_Industries_Member_Minimum_Memberhttp://www.sec.gov/CIK0000949858duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseMinimum [Member]us-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MinimumMemberus-gaap_RangeAxisexplicitMemberfalsefalseTEVA Pharmaceutical Industries Ltd. [Member]us-gaap_RelatedPartyTransactionsByRelatedPartyAxisxbrldihttp://xbrl.org/2006/xbrldiogxi_TevaPharmaceuticalIndustriesMemberus-gaap_RelatedPartyTransactionsByRelatedPartyAxisexplicitMembernanafalse021true4ogxi_CollaborationAgreementTextualAbstractogxi_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse022false5ogxi_TerminateOfCollaborationAgreementogxi_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse003 monthsfalsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaTerminate of collaboration agreement.No definition available.false023false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse12falsetruefalseSixMonthsEnded_30Jun2013_Teva_Pharmaceutical_Industries_Member_Maximum_Memberhttp://www.sec.gov/CIK0000949858duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseMaximum [Member]us-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MaximumMemberus-gaap_RangeAxisexplicitMemberfalsefalseTEVA Pharmaceutical Industries Ltd. [Member]us-gaap_RelatedPartyTransactionsByRelatedPartyAxisxbrldihttp://xbrl.org/2006/xbrldiogxi_TevaPharmaceuticalIndustriesMemberus-gaap_RelatedPartyTransactionsByRelatedPartyAxisexplicitMembernanafalse024true4ogxi_CollaborationAgreementTextualAbstractogxi_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse025false5ogxi_TerminateOfCollaborationAgreementogxi_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse006 monthsfalsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaTerminate of collaboration agreement.No definition available.false026false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse13falseUSDtruefalse$BalanceAsOf_30Jun2013_Collaborative_Arrangement_Memberhttp://www.sec.gov/CIK0000949858instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseCollaborative Arrangement [Member]us-gaap_TypeOfArrangementAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CollaborativeArrangementMemberus-gaap_TypeOfArrangementAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse027true4ogxi_CollaborationAgreementTextualAbstractogxi_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse028false5ogxi_ReceivablesForUnbilledExpenseReimbursementogxi_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse63000006300000USD$falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse63000006300000USD$falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryReceivables for unbilled expense reimbursement.No definition available.false229false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse14falseUSDtruefalse$OneMonthEnded_31Dec2009_Teva_Pharmaceutical_Industries_Member_Collaborative_Arrangement_Memberhttp://www.sec.gov/CIK0000949858duration2009-12-01T00:00:002009-12-31T00:00:00falsefalseCollaborative Arrangement [Member]us-gaap_TypeOfArrangementAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CollaborativeArrangementMemberus-gaap_TypeOfArrangementAxisexplicitMemberfalsefalseTEVA Pharmaceutical Industries Ltd. [Member]us-gaap_RelatedPartyTransactionsByRelatedPartyAxisxbrldihttp://xbrl.org/2006/xbrldiogxi_TevaPharmaceuticalIndustriesMemberus-gaap_RelatedPartyTransactionsByRelatedPartyAxisexplicitMemberPureStandardhttp://www.xbrl.org/2003/instancepurexbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDUSD$nanafalse030true4ogxi_CollaborationAgreementTextualAbstractogxi_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse031false5ogxi_CollaborationMaximumAdditionalPaymentReceivedAchievementOfDevelopmentalAndCommercialMilestonesogxi_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse370000000370000000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryCollaboration maximum additional payment received achievement of developmental and commercial milestones.No definition available.false232false5us-gaap_CommonStockValueus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1000000010000000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.29)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 30
-Article 5
false233false5ogxi_CommonStockSharePremiumPercentageogxi_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truetruefalse0.200.20falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsenum:percentItemTypepureCommon stock share premium percentage.No definition available.false034false5us-gaap_SaleOfStockPricePerShareus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse37.3837.38USD$falsetruefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsenum:perShareItemTypedecimalPer share amount received by subsidiary or equity investee for each share of common stock issued or sold in the stock transaction.No definition available.false335false5ogxi_CommonStockSharesPurchasedogxi_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse267531267531falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesCommon stock shares purchased.No definition available.false136false5ogxi_PaymentRelatedToLicenseAgreementogxi_falsecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse300000300000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryPayment related to license agreement.No definition available.false237false5ogxi_PercentageOfMilestonePaymentsRequiredToBePaidToThirdPartyogxi_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truetruefalse0.310.31falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsenum:percentItemTypepurePercentage of milestone payments required to be paid to third party.No definition available.false038false5ogxi_DirectAndIndirectDevelopmentCostsForClinicalDevelopmentogxi_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse3000000030000000USD$falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryDirect and indirect development costs for clinical development.No definition available.false239false5ogxi_ContributionToDevelopmentOfCustirsenogxi_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6truefalsefalse3000000030000000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryContribution to the development of custirsen.No definition available.false240false5us-gaap_Revenuesus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse63000006300000USD$falsetruefalse3falsefalsefalse00falsefalsefalse4truefalsefalse1140000011400000USD$falsetruefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 225
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SX 210.5-03.1)
-URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 1
-Article 5
false241false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse18falsetruefalseSixMonthsEnded_30Jun2013_Teva_Pharmaceutical_Industries_Member_Minimum_Member_Collaborative_Arrangement_Memberhttp://www.sec.gov/CIK0000949858duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseCollaborative Arrangement [Member]us-gaap_TypeOfArrangementAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CollaborativeArrangementMemberus-gaap_TypeOfArrangementAxisexplicitMemberfalsefalseMinimum [Member]us-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MinimumMemberus-gaap_RangeAxisexplicitMemberfalsefalseTEVA Pharmaceutical Industries Ltd. [Member]us-gaap_RelatedPartyTransactionsByRelatedPartyAxisxbrldihttp://xbrl.org/2006/xbrldiogxi_TevaPharmaceuticalIndustriesMemberus-gaap_RelatedPartyTransactionsByRelatedPartyAxisexplicitMemberPureStandardhttp://www.xbrl.org/2003/instancepurexbrli0nanafalse042true4ogxi_CollaborationAgreementTextualAbstractogxi_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse043false5ogxi_PercentageOfNetSalesRequiredToBePaidAsRoyaltyToThirdPartyogxi_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truetruefalse0.04880.0488falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsenum:percentItemTypepurePercentage of net sales required to be paid as royalty to third party.No definition available.false044false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse19falsetruefalseSixMonthsEnded_30Jun2013_Teva_Pharmaceutical_Industries_Member_Maximum_Member_Collaborative_Arrangement_Memberhttp://www.sec.gov/CIK0000949858duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseCollaborative Arrangement [Member]us-gaap_TypeOfArrangementAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CollaborativeArrangementMemberus-gaap_TypeOfArrangementAxisexplicitMemberfalsefalseMaximum [Member]us-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MaximumMemberus-gaap_RangeAxisexplicitMemberfalsefalseTEVA Pharmaceutical Industries Ltd. [Member]us-gaap_RelatedPartyTransactionsByRelatedPartyAxisxbrldihttp://xbrl.org/2006/xbrldiogxi_TevaPharmaceuticalIndustriesMemberus-gaap_RelatedPartyTransactionsByRelatedPartyAxisexplicitMemberPureStandardhttp://www.xbrl.org/2003/instancepurexbrli0nanafalse045true4ogxi_CollaborationAgreementTextualAbstractogxi_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse046false5ogxi_PercentageOfNetSalesRequiredToBePaidAsRoyaltyToThirdPartyogxi_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truetruefalse0.08000.0800falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsenum:percentItemTypepurePercentage of net sales required to be paid as royalty to third party.No definition available.false0falseCollaboration Agreement (Details Textual) (USD $)NoRoundingNoRoundingNoRoundingUnKnowntruefalsefalseSheethttp://oncogenex.com/role/CollaborationAgreementDetailsTextual646