2.4.0.8136 - Disclosure - Cash and Cash Equivalents - Additional Information (Detail)truefalsefalse1falseUSDfalsefalse$eol_PE10315---13S-1-0008_STD_366_20121231_0http://www.sec.gov/CIK0001069308duration2012-01-01T00:00:002012-12-31T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170pureStandardhttp://www.xbrl.org/2003/instancepure0USDUSD$2falseUSDfalsefalse$eol_PE10315---13S-1-0008_STD_365_20111231_0http://www.sec.gov/CIK0001069308duration2011-01-01T00:00:002011-12-31T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170pureStandardhttp://www.xbrl.org/2003/instancepure0USDUSD$3falseUSDfalsefalse$eol_PE10315---13S-1-0008_STD_0_20130331_0http://www.sec.gov/CIK0001069308instant2013-03-31T00:00:000001-01-01T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$4falseUSDfalsefalse$eol_PE10315---13S-1-0008_STD_0_20120725_0http://www.sec.gov/CIK0001069308instant2012-07-25T00:00:000001-01-01T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$5falseUSDtruefalse$eol_PE10315---13S-1-0008_STD_0_20130129_0_710720x714667http://www.sec.gov/CIK0001069308instant2013-01-29T00:00:000001-01-01T00:00:00falsefalseSubsequent Eventus-gaap_SubsequentEventTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_SubsequentEventMemberus-gaap_SubsequentEventTypeAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true3us-gaap_CashAndCashEquivalentsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false4us-gaap_MoneyMarketFundsAtCarryingValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2450024500USD$falsetruefalse2truefalsefalse70000007000000USD$falsetruefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryInvestment in short-term money-market instruments (such as commercial paper, banker's acceptances, repurchase agreements, government securities, certificates of deposit, and so forth) which are highly liquid (that is, readily convertible to known amounts of cash) and so near their maturity that they present an insignificant risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify as cash equivalents by definition. Original maturity means an original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three-years ago does not become a cash equivalent when its remaining maturity is three months.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash Equivalents
-URI http://asc.fasb.org/extlink&oid=6507016
false23false4us-gaap_WeightedAverageRateDomesticDepositMoneyMarketus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truetruefalse0.00010.0001falsefalsefalse2truetruefalse0.00010.0001falsefalsefalse3falsetruefalse00falsefalsefalse4falsetruefalse00falsefalsefalse5falsetruefalse00falsefalsefalsenum:percentItemTypepureThe weighted average interest rate for domestic money market demand account deposit liabilities.No definition available.false04false4us-gaap_InterestIncomeMoneyMarketDepositsus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse280280falsefalsefalse2truefalsefalse932932falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryInterest earned on funds deposited in US domestic money market accounts.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 225
-Section S99
-Paragraph 1
-Subparagraph (SX 210.9-04.4)
-URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 4
-Article 9
false25false4us-gaap_DebtInstrumentFaceAmountus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse40850004085000falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFace (par) amount of debt instrument at time of issuance.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 835
-SubTopic 30
-Section 45
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28551-108399
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 835
-SubTopic 30
-Section 55
-Paragraph 8
-URI http://asc.fasb.org/extlink&oid=6584090&loc=d3e28878-108400
false26false4us-gaap_RestrictedCashAndCashEquivalentsNoncurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse10000001000000USD$falsetruefalse2falsefalsefalse00falsefalsefalse3truefalsefalse500000500000USD$falsetruefalse4falsefalsefalse00falsefalsefalse5truefalsefalse500000500000USD$falsetruefalsexbrli:monetaryItemTypemonetaryCash and equivalents whose use in whole or in part is restricted for the long-term, generally by contractual agreements or regulatory requirements.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 1
-Article 5
Reference 2: 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
false2falseCash and Cash Equivalents - Additional Information (Detail) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.opexatherapeutics.com/taxonomy/role/DisclosureCashAndCashEquivalentsAdditionalInformation56