2.4.0.84094 - Disclosure - Share-based Compensation (Details 5)truefalseIn Thousands, except Share data, unless otherwise specifiedfalse1falseUSDfalsefalse$D2013Q2YTD_StockOptionsMemberhttp://www.sec.gov/CIK0000946840duration2013-01-01T00:00:002013-06-30T00:00:00USDPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2falseUSDfalsefalse$I2012_StockOptionsMemberhttp://www.sec.gov/CIK0000946840instant2012-12-31T00:00:000001-01-01T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDUSD$1false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse1falseUSDtruefalse$D2013Q2YTD_StockOptionsMemberhttp://www.sec.gov/CIK0000946840duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseStock awardsus-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_StockOptionsMemberus-gaap_AwardTypeAxisexplicitMemberUSDPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse02true3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse03false4us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimitus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1.841.84USD$falsetruefalse2falsefalsefalse00falsefalsefalsenum:perShareItemTypedecimalThe floor of a customized range of exercise prices for purposes of disclosing shares potentially issuable under outstanding stock option awards on all stock option plans and other required information pertaining to awards in the customized range.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 123R
-Paragraph 64
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (g)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false34false4us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimitus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse32.6932.69USD$falsetruefalse2falsefalsefalse00falsefalsefalsenum:perShareItemTypedecimalThe ceiling of a customized range of exercise prices for purposes of disclosing shares potentially issuable under outstanding stock option awards on all stock option plans and other required information pertaining to awards in the customized range.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 123R
-Paragraph 64
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (g)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false35false4us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm2us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse006 years 11 months 12 daysfalsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaWeighted average remaining contractual term of outstanding stock options, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (e)(1)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false06false4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumberus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1046589910465899falsefalsefalse2truefalsefalse88148318814831falsefalsefalsexbrli:sharesItemTypesharesThe number of shares reserved for issuance under stock option agreements awarded under the plan that validly exist and are outstanding as of the balance sheet date, including vested options.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(1)(i)-(ii)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 123R
-Paragraph A240
-Subparagraph b(1)(a)
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 123R
-Paragraph A240
-Subparagraph b(1)(b)
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
false17false4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumberus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse57989915798991falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe number of shares into which fully or partially vested stock options outstanding as of the balance sheet date can be currently converted under the option plan.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(1)(iii)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 123R
-Paragraph A240
-Subparagraph b(1)(c), d(2)
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
false18false4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse17.3117.31USD$falsetruefalse2truefalsefalse15.2615.26USD$falsetruefalsenum:perShareItemTypedecimalWeighted average price at which grantees can acquire the shares reserved for issuance under the stock option plan.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(1)(i)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 123R
-Paragraph A240
-Subparagraph b(1)(a)
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
false39false4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePriceus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse13.1713.17USD$falsetruefalse2falsefalsefalse00falsefalsefalsenum:perShareItemTypedecimalThe weighted-average price as of the balance sheet date at which grantees can acquire the shares reserved for issuance on vested portions of options outstanding and currently exercisable under the stock option plan.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(1)(iii)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 123R
-Paragraph A240
-Subparagraph b(1)(c)
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
false310false4us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse006 years 11 months 12 daysfalsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaWeighted average remaining contractual term for option awards outstanding, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (e)(1)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false011false4us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse005 years 5 months 1 dayfalsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaWeighted average remaining contractual term for vested portions of options outstanding and currently exercisable or convertible, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false012false4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse119237000119237USD$falsetruefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of difference between fair value of the underlying shares reserved for issuance and exercise price of options outstanding.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 123R
-Paragraph A240
-Subparagraph d(1)
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
false213false4us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1us-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse9012900090129USD$falsetruefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of difference between fair value of the underlying shares reserved for issuance and exercise price of vested portions of options outstanding and currently exercisable.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false2falseShare-based Compensation (Details 5) (Stock awards, USD $)ThousandsNoRoundingNoRoundingUnKnowntruefalsefalseSheethttp://www.viropharma.com/role/DisclosureShareBasedCompensationDetails5213