2.4.0.806042 - Disclosure - Fair Value Measurements (Details 2)truefalseIn Thousands, unless otherwise specifiedfalse1false
USDfalsefalse$BalanceAsOf_30Jun2013_Cash_Memberhttp://www.sec.gov/CIK0000949858instant2013-06-30T00:00:000001-01-01T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 1false
USDtruefalse$BalanceAsOf_30Jun2013_Cash_Memberhttp://www.sec.gov/CIK0000949858instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseCash [Member]us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CashMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
2true
4us-gaap_AssetsFairValueDisclosureAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
3false
5us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasisus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse39860003986USD$falsetruefalse | xbrli:monetaryItemTypemonetaryThis item represents the cost of debt securities, which are categorized neither as held-to-maturity nor trading, net of adjustments including accretion, amortization, collection of cash, previous other-than-temporary impairments recognized in earnings (less any cumulative-effect adjustments recognized, as defined), and fair value hedge accounting adjustments, if any.No definition available.false2
4false
5ogxi_AvailableForSaleSecuritiesGrossUnrealizedGainAccumulatedInInvestmentsogxi_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1falsefalsefalse00 USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAvailable for sale securities gross unrealized gain accumulated in investments.No definition available.false2
5false
5ogxi_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInInvestmentsogxi_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel| 1falsefalsefalse00 USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAvailable for sale securities gross unrealized loss accumulated in investments.No definition available.false2
6false
5us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel| 1truefalsefalse39860003986USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of debt securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27161-111563
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 320
-Section 50
-Paragraph 2
-Subparagraph (b)-(g)
-URI http://asc.fasb.org/extlink&oid=6957658&loc=d3e62557-112803
true2
7false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2false
USDtruefalse$BalanceAsOf_30Jun2013_Money_Market_Funds_Memberhttp://www.sec.gov/CIK0000949858instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseMoney market securities [Member]us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MoneyMarketFundsMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
8true
4us-gaap_AssetsFairValueDisclosureAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
9false
5us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasisus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse1476300014763USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThis item represents the cost of debt securities, which are categorized neither as held-to-maturity nor trading, net of adjustments including accretion, amortization, collection of cash, previous other-than-temporary impairments recognized in earnings (less any cumulative-effect adjustments recognized, as defined), and fair value hedge accounting adjustments, if any.No definition available.false2
10false
5ogxi_AvailableForSaleSecuritiesGrossUnrealizedGainAccumulatedInInvestmentsogxi_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1falsefalsefalse00 USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAvailable for sale securities gross unrealized gain accumulated in investments.No definition available.false2
11false
5ogxi_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInInvestmentsogxi_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel| 1falsefalsefalse00 USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAvailable for sale securities gross unrealized loss accumulated in investments.No definition available.false2
12false
5us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel| 1truefalsefalse1476300014763USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of debt securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27161-111563
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 320
-Section 50
-Paragraph 2
-Subparagraph (b)-(g)
-URI http://asc.fasb.org/extlink&oid=6957658&loc=d3e62557-112803
true2
13false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 3false
USDtruefalse$BalanceAsOf_30Jun2013_Cash_And_Cash_Equivalents_Memberhttp://www.sec.gov/CIK0000949858instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseTotal cash and cash equivalents [Member]us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CashAndCashEquivalentsMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
14true
4us-gaap_AssetsFairValueDisclosureAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
15false
5us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasisus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse1874900018749USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThis item represents the cost of debt securities, which are categorized neither as held-to-maturity nor trading, net of adjustments including accretion, amortization, collection of cash, previous other-than-temporary impairments recognized in earnings (less any cumulative-effect adjustments recognized, as defined), and fair value hedge accounting adjustments, if any.No definition available.false2
16false
5ogxi_AvailableForSaleSecuritiesGrossUnrealizedGainAccumulatedInInvestmentsogxi_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1falsefalsefalse00 USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAvailable for sale securities gross unrealized gain accumulated in investments.No definition available.false2
17false
5ogxi_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInInvestmentsogxi_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel| 1falsefalsefalse00 USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAvailable for sale securities gross unrealized loss accumulated in investments.No definition available.false2
18false
5us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel| 1truefalsefalse1874900018749USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of debt securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27161-111563
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 320
-Section 50
-Paragraph 2
-Subparagraph (b)-(g)
-URI http://asc.fasb.org/extlink&oid=6957658&loc=d3e62557-112803
true2
19false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 4false
USDtruefalse$BalanceAsOf_30Jun2013_Money_Market_Memberhttp://www.sec.gov/CIK0000949858instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseMoney market securities [Member]us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldiogxi_MoneyMarketMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
20true
4us-gaap_AssetsFairValueDisclosureAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
21false
5us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasisus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse314000314USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThis item represents the cost of debt securities, which are categorized neither as held-to-maturity nor trading, net of adjustments including accretion, amortization, collection of cash, previous other-than-temporary impairments recognized in earnings (less any cumulative-effect adjustments recognized, as defined), and fair value hedge accounting adjustments, if any.No definition available.false2
22false
5ogxi_AvailableForSaleSecuritiesGrossUnrealizedGainAccumulatedInInvestmentsogxi_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1falsefalsefalse00 USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAvailable for sale securities gross unrealized gain accumulated in investments.No definition available.false2
23false
5ogxi_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInInvestmentsogxi_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel| 1falsefalsefalse00 USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAvailable for sale securities gross unrealized loss accumulated in investments.No definition available.false2
24false
5us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel| 1truefalsefalse314000314USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of debt securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27161-111563
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 320
-Section 50
-Paragraph 2
-Subparagraph (b)-(g)
-URI http://asc.fasb.org/extlink&oid=6957658&loc=d3e62557-112803
true2
25false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 5false
USDtruefalse$BalanceAsOf_30Jun2013_Restricted_Cash_Memberhttp://www.sec.gov/CIK0000949858instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseTotal restricted cash [Member]us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldiogxi_RestrictedCashMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
26true
4us-gaap_AssetsFairValueDisclosureAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
27false
5us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasisus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse314000314USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThis item represents the cost of debt securities, which are categorized neither as held-to-maturity nor trading, net of adjustments including accretion, amortization, collection of cash, previous other-than-temporary impairments recognized in earnings (less any cumulative-effect adjustments recognized, as defined), and fair value hedge accounting adjustments, if any.No definition available.false2
28false
5ogxi_AvailableForSaleSecuritiesGrossUnrealizedGainAccumulatedInInvestmentsogxi_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1falsefalsefalse00 USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAvailable for sale securities gross unrealized gain accumulated in investments.No definition available.false2
29false
5ogxi_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInInvestmentsogxi_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel| 1falsefalsefalse00 USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAvailable for sale securities gross unrealized loss accumulated in investments.No definition available.false2
30false
5us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel| 1truefalsefalse314000314USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of debt securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27161-111563
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 320
-Section 50
-Paragraph 2
-Subparagraph (b)-(g)
-URI http://asc.fasb.org/extlink&oid=6957658&loc=d3e62557-112803
true2
31false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 6false
USDtruefalse$BalanceAsOf_30Jun2013_Corporate_Bonds_And_Commercial_Paper_Short_Term_Memberhttp://www.sec.gov/CIK0000949858instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseCorporate bonds and commercial paper [Member]us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldiogxi_CorporateBondsAndCommercialPaperShortTermMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
32true
4us-gaap_AssetsFairValueDisclosureAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
33false
5us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasisus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse3826800038268USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThis item represents the cost of debt securities, which are categorized neither as held-to-maturity nor trading, net of adjustments including accretion, amortization, collection of cash, previous other-than-temporary impairments recognized in earnings (less any cumulative-effect adjustments recognized, as defined), and fair value hedge accounting adjustments, if any.No definition available.false2
34false
5ogxi_AvailableForSaleSecuritiesGrossUnrealizedGainAccumulatedInInvestmentsogxi_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse20002USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAvailable for sale securities gross unrealized gain accumulated in investments.No definition available.false2
35false
5ogxi_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInInvestmentsogxi_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel| 1truefalsefalse-27000-27USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAvailable for sale securities gross unrealized loss accumulated in investments.No definition available.false2
36false
5us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel| 1truefalsefalse3824300038243USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of debt securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27161-111563
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 320
-Section 50
-Paragraph 2
-Subparagraph (b)-(g)
-URI http://asc.fasb.org/extlink&oid=6957658&loc=d3e62557-112803
true2
37false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 7false
USDtruefalse$BalanceAsOf_30Jun2013_Short_Term_Investments_Memberhttp://www.sec.gov/CIK0000949858instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseTotal short-term investments [Member]us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ShortTermInvestmentsMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
38true
4us-gaap_AssetsFairValueDisclosureAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
39false
5us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasisus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse3826800038268USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThis item represents the cost of debt securities, which are categorized neither as held-to-maturity nor trading, net of adjustments including accretion, amortization, collection of cash, previous other-than-temporary impairments recognized in earnings (less any cumulative-effect adjustments recognized, as defined), and fair value hedge accounting adjustments, if any.No definition available.false2
40false
5ogxi_AvailableForSaleSecuritiesGrossUnrealizedGainAccumulatedInInvestmentsogxi_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse20002USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAvailable for sale securities gross unrealized gain accumulated in investments.No definition available.false2
41false
5ogxi_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInInvestmentsogxi_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel| 1truefalsefalse-27000-27USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAvailable for sale securities gross unrealized loss accumulated in investments.No definition available.false2
42false
5us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel| 1truefalsefalse3824300038243USD$falsetruefalse | xbrli:monetaryItemTypemonetaryAmount of debt securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27161-111563
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 320
-Section 50
-Paragraph 2
-Subparagraph (b)-(g)
-URI http://asc.fasb.org/extlink&oid=6957658&loc=d3e62557-112803
true2
falseFair Value Measurements (Details 2) (USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://oncogenex.com/role/FairValueMeasurementsDetails2142