2.4.0.8158 - Disclosure - Significant Accounting Policies - Additional Information (Detail)truefalsefalse1false USDfalsefalse$eol_PE10315---13S-1-0008_STD_90_20130331_0http://www.sec.gov/CIK0001069308duration2013-01-01T00:00:002013-03-31T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170pureStandardhttp://www.xbrl.org/2003/instancepure0USDUSD$2false USDfalsefalse$eol_PE10315---13S-1-0008_STD_3721_20130331_0http://www.sec.gov/CIK0001069308duration2003-01-23T00:00:002013-03-31T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170pureStandardhttp://www.xbrl.org/2003/instancepure0USDUSD$1true 3opxa_SummaryOfSignificantAccountingPoliciesLineItemsopxa_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 4us-gaap_ContractsRevenueus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse220100220100USD$falsetruefalse2truefalsefalse220100220100USD$falsetruefalsexbrli:monetaryItemTypemonetaryRevenue earned during the period arising from products sold or services provided under the terms of a contract, not elsewhere specified in the taxonomy. May include government contracts, construction contracts, and any other contract related to a particular project or product.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 false23false 4us-gaap_TimeDepositsAtCarryingValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse77000007700000USD$falsefalsefalse2truefalsefalse77000007700000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAny certificate of deposit or savings account held by a bank or other financial institution for a short-term specified period of time. Because of their short-term, time deposits are considered 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. Generally, only investments with original maturities of three months or less qualify under that definition. Original maturity means 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 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 1 -Article 5 Reference 3: 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 false24false 4us-gaap_WeightedAverageRateDomesticDepositSavingsus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truetruefalse0.00250.0025falsefalsefalse2truetruefalse0.00250.0025falsefalsefalsenum:percentItemTypepureThe weighted average interest rate for domestic savings deposit liabilities.No definition available.false05false 4us-gaap_InterestIncomeDomesticDepositsus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse18741874USD$falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryInterest earned on deposits in United States money market accounts and other United States interest earning 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 false26false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3false USDtruefalse$eol_PE10315---13S-1-0008_STD_0_20130331_0_711502x716112http://www.sec.gov/CIK0001069308instant2013-03-31T00:00:000001-01-01T00:00:00falsefalseMaximumus-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MaximumMemberus-gaap_RangeAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse07true 3opxa_SummaryOfSignificantAccountingPoliciesLineItemsopxa_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse08false 4us-gaap_CashFDICInsuredAmountus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse250000250000USD$falsefalsefalse2truefalsefalse250000250000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of cash deposited in financial institutions as of the balance sheet date that is insured by the Federal Deposit Insurance Corporation.No definition available.false29false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse4false USDtruefalse$eol_PE10315---13S-1-0008_STD_90_20130331_0_821864x778714http://www.sec.gov/CIK0001069308duration2013-01-01T00:00:002013-03-31T00:00:00falsefalseOption and License Agreementopxa_AgreementsAxisxbrldihttp://xbrl.org/2006/xbrldiopxa_OptionAndLicenseAgreementMemberopxa_AgreementsAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse010true 3opxa_SummaryOfSignificantAccountingPoliciesLineItemsopxa_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse011false 4opxa_ProceedsFromUpFrontCashPaymentopxa_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse50000005000000USD$falsefalsefalse2truefalsefalse50000005000000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryProceeds From Up Front Cash PaymentNo definition available.false212false 4opxa_LicensingMilestoneopxa_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2500000025000000USD$falsefalsefalse2truefalsefalse2500000025000000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryLicensing MilestoneNo definition available.false213false 4us-gaap_ContractsRevenueus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse50000005000000USD$falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryRevenue earned during the period arising from products sold or services provided under the terms of a contract, not elsewhere specified in the taxonomy. May include government contracts, construction contracts, and any other contract related to a particular project or product.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 false214false 4us-gaap_DeferredRevenueus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse50000005000000USD$falsefalsefalse2truefalsefalse50000005000000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of deferred revenue as of balance sheet date. Deferred revenue represents collections of cash or other assets related to a revenue producing activity for which revenue has not yet been recognized. Generally, an entity records deferred revenue when it receives consideration from a customer before achieving certain criteria that must be met for revenue to be recognized in conformity with GAAP.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Staff Accounting Bulletin (SAB) -Number Topic 13 -Section A Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB TOPIC 13.A.4(a).Q1 Response) -URI http://asc.fasb.org/extlink&oid=27012821&loc=d3e214044-122780 false215false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse5false USDtruefalse$eol_PE10315---13S-1-0008_STD_0_20130331_0_708873x848955_821864x778714http://www.sec.gov/CIK0001069308instant2013-03-31T00:00:000001-01-01T00:00:00falsefalseOption and License Agreementopxa_AgreementsAxisxbrldihttp://xbrl.org/2006/xbrldiopxa_OptionAndLicenseAgreementMemberopxa_AgreementsAxisexplicitMemberfalsefalseLicensing fee if Merck is unable to advance directly to Phase III trials of Tcelnaus-gaap_StatementScenarioAxisxbrldihttp://xbrl.org/2006/xbrldiopxa_OptionAndLicenseAgreementScenarioOneMemberus-gaap_StatementScenarioAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse016true 3opxa_SummaryOfSignificantAccountingPoliciesLineItemsopxa_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse017false 4opxa_LicensingMilestoneopxa_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1500000015000000USD$falsetruefalse2truefalsefalse1500000015000000USD$falsetruefalsexbrli:monetaryItemTypemonetaryLicensing MilestoneNo definition available.false2falseSignificant Accounting Policies - Additional Information (Detail) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.opexatherapeutics.com/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformation217