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 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse1false 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$nanafalse02true 4us-gaap_AssetsFairValueDisclosureAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse03false 5us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasisus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse39860003986USD$falsetruefalsexbrli: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.false24false 5ogxi_AvailableForSaleSecuritiesGrossUnrealizedGainAccumulatedInInvestmentsogxi_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00  USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAvailable for sale securities gross unrealized gain accumulated in investments.No definition available.false25false 5ogxi_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInInvestmentsogxi_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1falsefalsefalse00  USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAvailable for sale securities gross unrealized loss accumulated in investments.No definition available.false26false 5us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse39860003986USD$falsefalsefalsexbrli: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 true27false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2false 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$nanafalse08true 4us-gaap_AssetsFairValueDisclosureAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse09false 5us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasisus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse1476300014763USD$falsefalsefalsexbrli: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.false210false 5ogxi_AvailableForSaleSecuritiesGrossUnrealizedGainAccumulatedInInvestmentsogxi_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00  USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAvailable for sale securities gross unrealized gain accumulated in investments.No definition available.false211false 5ogxi_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInInvestmentsogxi_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1falsefalsefalse00  USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAvailable for sale securities gross unrealized loss accumulated in investments.No definition available.false212false 5us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse1476300014763USD$falsefalsefalsexbrli: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 true213false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse3false 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$nanafalse014true 4us-gaap_AssetsFairValueDisclosureAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse015false 5us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasisus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse1874900018749USD$falsefalsefalsexbrli: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.false216false 5ogxi_AvailableForSaleSecuritiesGrossUnrealizedGainAccumulatedInInvestmentsogxi_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00  USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAvailable for sale securities gross unrealized gain accumulated in investments.No definition available.false217false 5ogxi_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInInvestmentsogxi_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1falsefalsefalse00  USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAvailable for sale securities gross unrealized loss accumulated in investments.No definition available.false218false 5us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse1874900018749USD$falsefalsefalsexbrli: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 true219false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse4false 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$nanafalse020true 4us-gaap_AssetsFairValueDisclosureAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse021false 5us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasisus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse314000314USD$falsefalsefalsexbrli: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.false222false 5ogxi_AvailableForSaleSecuritiesGrossUnrealizedGainAccumulatedInInvestmentsogxi_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00  USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAvailable for sale securities gross unrealized gain accumulated in investments.No definition available.false223false 5ogxi_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInInvestmentsogxi_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1falsefalsefalse00  USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAvailable for sale securities gross unrealized loss accumulated in investments.No definition available.false224false 5us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse314000314USD$falsefalsefalsexbrli: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 true225false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse5false 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$nanafalse026true 4us-gaap_AssetsFairValueDisclosureAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse027false 5us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasisus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse314000314USD$falsefalsefalsexbrli: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.false228false 5ogxi_AvailableForSaleSecuritiesGrossUnrealizedGainAccumulatedInInvestmentsogxi_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00  USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAvailable for sale securities gross unrealized gain accumulated in investments.No definition available.false229false 5ogxi_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInInvestmentsogxi_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1falsefalsefalse00  USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAvailable for sale securities gross unrealized loss accumulated in investments.No definition available.false230false 5us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse314000314USD$falsefalsefalsexbrli: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 true231false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse6false 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$nanafalse032true 4us-gaap_AssetsFairValueDisclosureAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse033false 5us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasisus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse3826800038268USD$falsefalsefalsexbrli: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.false234false 5ogxi_AvailableForSaleSecuritiesGrossUnrealizedGainAccumulatedInInvestmentsogxi_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse20002USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAvailable for sale securities gross unrealized gain accumulated in investments.No definition available.false235false 5ogxi_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInInvestmentsogxi_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-27000-27USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAvailable for sale securities gross unrealized loss accumulated in investments.No definition available.false236false 5us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse3824300038243USD$falsefalsefalsexbrli: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 true237false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse7false 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$nanafalse038true 4us-gaap_AssetsFairValueDisclosureAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse039false 5us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasisus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse3826800038268USD$falsefalsefalsexbrli: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.false240false 5ogxi_AvailableForSaleSecuritiesGrossUnrealizedGainAccumulatedInInvestmentsogxi_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse20002USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAvailable for sale securities gross unrealized gain accumulated in investments.No definition available.false241false 5ogxi_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInInvestmentsogxi_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-27000-27USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAvailable for sale securities gross unrealized loss accumulated in investments.No definition available.false242false 5us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse3824300038243USD$falsetruefalsexbrli: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 true2falseFair Value Measurements (Details 2) (USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://oncogenex.com/role/FairValueMeasurementsDetails2142