2.4.0.80130 - Statement - Consolidated Statements of Cash Flows (Unaudited)truefalseIn Thousands, unless otherwise specifiedfalse1falseUSDfalsefalse$Jan_01_2013_Jun_30_2013http://www.sec.gov/CIK0000949858duration2013-01-01T00:00:002013-06-30T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2falseUSDfalsefalse$SixMonthsEnded_30Jun2012http://www.sec.gov/CIK0000949858duration2012-01-01T00:00:002012-06-30T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true2us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false3us-gaap_NetIncomeLossus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse-15117000-15117USD$falsetruefalse2truefalsefalse-11075000-11075USD$falsetruefalsexbrli:monetaryItemTypemonetaryThe portion of profit or loss for the period, net of income taxes, which is attributable to the parent.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 20
-Article 9
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Other Comprehensive Income
-URI http://asc.fasb.org/extlink&oid=6519514
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Net Income
-URI http://asc.fasb.org/extlink&oid=6518256
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 225
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-04.19)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 7: 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.18)
-URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688
Reference 8: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 225
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-04.22)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 9: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 220
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=28358780&loc=d3e565-108580
Reference 10: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 19
-Article 5
false23true3us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse04false4us-gaap_FairValueAdjustmentOfWarrantsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse-2335000-2335falsefalsefalse2truefalsefalse-214000-214falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of expense (income) related to adjustment to fair value of warrant liability.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 480
-SubTopic 10
-Section 25
-Paragraph 13
-URI http://asc.fasb.org/extlink&oid=6939902&loc=d3e20148-110875
false25false4us-gaap_Depreciationus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse100000100falsefalsefalse2truefalsefalse4300043falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of expense recognized in the current period that reflects the allocation of the cost of tangible assets over the assets' useful lives. Includes production and non-production related depreciation.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
false26false4us-gaap_ShareBasedCompensationus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse16030001603falsefalsefalse2truefalsefalse10290001029falsefalsefalsexbrli:monetaryItemTypemonetaryThe aggregate amount of noncash, equity-based employee remuneration. This may include the value of stock or unit options, amortization of restricted stock or units, and adjustment for officers' compensation. As noncash, this element is an add back when calculating net cash generated by operating activities using the indirect method.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
false27true4us-gaap_IncreaseDecreaseInOperatingCapitalAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse08false5us-gaap_IncreaseDecreaseInAccruedInterestReceivableNetus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse2700027falsefalsefalse2truefalsefalse-109000-109falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the reporting period in the amount due from borrowers for interest payments.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
false29false5us-gaap_IncreaseDecreaseInAccountsReceivableus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-5725000-5725falsefalsefalse2truefalsefalse-35000-35falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the reporting period in amount due within one year (or one business cycle) from customers for the credit sale of goods and services.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
false210false5us-gaap_IncreaseDecreaseInPrepaidExpenseus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse140000140falsefalsefalse2truefalsefalse-7154000-7154falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the reporting period in the amount of outstanding money paid in advance for goods or services that bring economic benefits for future periods.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
false211false5us-gaap_IncreaseDecreaseInAccountsPayableTradeus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse-1199000-1199falsefalsefalse2truefalsefalse-896000-896falsefalsefalsexbrli:monetaryItemTypemonetaryChange in recurring obligations of a business that arise from the acquisition of merchandise, materials, supplies and services used in the production and sale of goods and services.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
false212false5us-gaap_IncreaseDecreaseInAccruedLiabilitiesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse50930005093falsefalsefalse2truefalsefalse718000718falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the reporting period in the aggregate amount of expenses incurred but not yet paid.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
false213false5us-gaap_IncreaseDecreaseInDeferredCompensationus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse-404000-404falsefalsefalse2truefalsefalse-156000-156falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the reporting period in the obligation created by employee agreements whereby earned compensation will be paid in the future.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
false214false5us-gaap_IncreaseDecreaseInRestrictedCashForOperatingActivitiesus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1falsefalsefalse00 falsefalsefalse2truefalsefalse6300063falsefalsefalsexbrli:monetaryItemTypemonetaryThe net cash inflow or outflow for the increase (decrease) associated with funds that are not available for withdrawal or use (such as funds held in escrow) and are associated with underlying transactions that are classified as operating activities. This may include cash restricted for regulatory purposes.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
false215false5ogxi_IncreaseDecreaseInLeaseObligationogxi_falsecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-331000-331falsefalsefalse2truefalsefalse-388000-388falsefalsefalsexbrli:monetaryItemTypemonetaryLease obligation.No definition available.false216false5ogxi_IncreaseDecreaseInLeaseObligationsogxi_falsecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-10000-10falsefalsefalse2truefalsefalse1200012falsefalsefalsexbrli:monetaryItemTypemonetaryIncrease decrease in lease obligations.No definition available.false217false5us-gaap_IncreaseDecreaseInDeferredRevenueus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00 falsefalsefalse2truefalsefalse-2899000-2899falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the reporting period, excluding the portion taken into income, in the liability reflecting revenue yet to be earned for which cash or other forms of consideration was received or recorded as a receivable.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
false218false3us-gaap_NetCashProvidedByUsedInOperatingActivitiesus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse-18158000-18158falsefalsefalse2truefalsefalse-21061000-21061falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 24
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 25
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3536-108585
true219true2us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse020false3us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptionsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse1000010falsefalsefalse2truefalsefalse114000114falsefalsefalsexbrli:monetaryItemTypemonetaryThe total cash inflow associated with the amount received from holders to acquire the entity's shares under incentive and share awards, including stock option exercises. This item inherently excludes any excess tax benefit, which the entity may have realized and reported separately.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Financing Activities
-URI http://asc.fasb.org/extlink&oid=6513228
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 14
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3255-108585
false221false3us-gaap_StockIssuedDuringPeriodValueNewIssuesus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1falsefalsefalse00 falsefalsefalse2truefalsefalse5377700053777falsefalsefalsexbrli:monetaryItemTypemonetaryEquity impact of the value of new stock issued during the period. Includes shares issued in an initial public offering or a secondary public offering.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30, 31
-Article 5
false222false3us-gaap_NetCashProvidedByUsedInFinancingActivitiesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse1000010falsefalsefalse2truefalsefalse5389100053891falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 24
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 26
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3574-108585
true223true2us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse024false3us-gaap_PaymentsToAcquireShortTermInvestmentsus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-30065000-30065falsefalsefalse2truefalsefalse-74302000-74302falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash outflow for securities or other assets acquired, which qualify for treatment as an investing activity and are to be liquidated, if necessary, within the current operating cycle. Includes cash flows from securities classified as trading securities that were acquired for reasons other than sale in the short-term.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Investing Activities
-URI http://asc.fasb.org/extlink&oid=6516133
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 13
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3213-108585
false225false3us-gaap_ProceedsFromSaleOfShortTermInvestmentsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse4913000049130falsefalsefalse2truefalsefalse2690500026905falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash inflow from sales of all investments, including securities and other assets, having ready marketability and intended by management to be liquidated, if necessary, within the current operating cycle. Includes cash flows from securities classified as trading securities that were acquired for reasons other than sale in the short-term.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 12
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3179-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Investing Activities
-URI http://asc.fasb.org/extlink&oid=6516133
false226false3us-gaap_PaymentsToAcquirePropertyPlantAndEquipmentus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-225000-225falsefalsefalse2truefalsefalse-89000-89falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Investing Activities
-URI http://asc.fasb.org/extlink&oid=6516133
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 13
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3213-108585
false227false3us-gaap_NetCashProvidedByUsedInInvestingActivitiesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse1884000018840falsefalsefalse2truefalsefalse-47486000-47486falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of cash inflow (outflow) from investing activities, including discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 24
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 26
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3574-108585
true228false2us-gaap_EffectOfExchangeRateOnCashAndCashEquivalentsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse-18000-18falsefalsefalse2truefalsefalse-19000-19falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of increase (decrease) from the effect of exchange rate changes on cash and cash equivalent balances held in foreign currencies.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 830
-SubTopic 230
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6450594&loc=d3e33268-110906
false229false2us-gaap_CashAndCashEquivalentsPeriodIncreaseDecreaseus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse674000674falsefalsefalse2truefalsefalse-14675000-14675falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of increase (decrease) in cash and cash equivalents. Cash and cash equivalents are the amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Includes effect from exchange rate changes.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 24
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 830
-SubTopic 230
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6450594&loc=d3e33268-110906
true230false2us-gaap_CashAndCashEquivalentsAtCarryingValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabel1truefalsefalse1807500018075falsefalsefalse2truefalsefalse2851700028517falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash
-URI http://asc.fasb.org/extlink&oid=6506951
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash Equivalents
-URI http://asc.fasb.org/extlink&oid=6507016
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 1
-Article 5
Reference 4: 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.1)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section 45
-Paragraph 1
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=28358313&loc=d3e6676-107765
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 4
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3044-108585
false231false2us-gaap_CashAndCashEquivalentsAtCarryingValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabel1truefalsefalse1874900018749falsefalsefalse2truefalsefalse1384200013842falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash
-URI http://asc.fasb.org/extlink&oid=6506951
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash Equivalents
-URI http://asc.fasb.org/extlink&oid=6507016
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 1
-Article 5
Reference 4: 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.1)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section 45
-Paragraph 1
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=28358313&loc=d3e6676-107765
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 4
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3044-108585
false232true2us-gaap_SupplementalCashFlowInformationAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse033false3ogxi_PropertyAndEquipmentAcquiredUnderLeaseObligationogxi_falsecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse2400024USD$falsetruefalse2falsefalsefalse00 falsefalsefalsexbrli:monetaryItemTypemonetaryProperty and equipment acquired under lease obligation.No definition available.false2falseConsolidated Statements of Cash Flows (Unaudited) (USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://oncogenex.com/role/StatementsOfCashFlows233