2.4.0.84099 - Disclosure - Share-based Compensation (Details 10)truefalsefalse1falsefalsefalseD2013Q2YTD_EmployeeStockMemberhttp://www.sec.gov/CIK0000946840duration2013-01-01T00:00:002013-06-30T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli02falsefalsefalseD2012_EmployeeStockMemberhttp://www.sec.gov/CIK0000946840duration2012-01-01T00:00:002012-12-31T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli01true3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse24614132461413falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable.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
false13false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse2falsetruefalseD2013Q2YTD_EmployeeStockMemberhttp://www.sec.gov/CIK0000946840duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseEmployee Stock Purchase Planus-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EmployeeStockMemberus-gaap_AwardTypeAxisexplicitMemberSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0nanafalse04true3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse05false4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriodus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1301013010falsefalsefalse2truefalsefalse2992729927falsefalsefalsexbrli:sharesItemTypesharesNumber of share instruments newly issued under a share-based compensation plan.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 65
-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 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 123R
-Paragraph A240
-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.
false16false4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse357141357141falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable.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
false17false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse4falseUSDtruefalse$D2013Q2YTD_EmployeeStockMember_IntialOfferingPeriod2013Memberhttp://www.sec.gov/CIK0000946840duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseEmployee Stock Purchase Planus-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EmployeeStockMemberus-gaap_AwardTypeAxisexplicitMemberfalsefalseInitial Offering Period in 2013us-gaap_PlanNameAxisxbrldihttp://xbrl.org/2006/xbrldivphm_IntialOfferingPeriod2013Memberus-gaap_PlanNameAxisexplicitMemberPureStandardhttp://www.xbrl.org/2003/instancepurexbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse08true3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse09false4vphm_EmployeeStockPurchasePlanFairValueOfSharesSoldvphm_falsecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse6070060700USD$falsetruefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe total fair value of shares sold to employees during the period related to the employee stock purchase plan.No definition available.false210true4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse011false5us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truetruefalse0.00040.0004falsefalsefalse2falsefalsefalse00falsefalsefalsenum:percentItemTypepureThe risk-free interest rate assumption that is used in valuing an option on its own shares.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (f)(2)(iv)
-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 e(2)(d)
-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.
false012false5us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truetruefalse0.2960.296falsefalsefalse2falsefalsefalse00falsefalsefalsenum:percentItemTypepureThe estimated measure of the percentage by which a share price is expected to fluctuate during a period. Volatility also may be defined as a probability-weighted measure of the dispersion of returns about the mean. The volatility of a share price is the standard deviation of the continuously compounded rates of return on the share over a specified period. That is the same as the standard deviation of the differences in the natural logarithms of the stock prices plus dividends, if any, over the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (f)(2)(ii)
-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 e(2)(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.
false013false5us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse003 months 29 daysfalsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaWeighted average period over which unrecognized compensation is expected to be recognized for equity-based compensation plans, 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 (i)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false014false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse5falseUSDtruefalse$D2013Q2YTD_EmployeeStockMember_PlanPeriodOne2013Memberhttp://www.sec.gov/CIK0000946840duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseEmployee Stock Purchase Planus-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EmployeeStockMemberus-gaap_AwardTypeAxisexplicitMemberfalsefalsePlan Period One in 2013us-gaap_PlanNameAxisxbrldihttp://xbrl.org/2006/xbrldivphm_PlanPeriodOne2013Memberus-gaap_PlanNameAxisexplicitMemberPureStandardhttp://www.xbrl.org/2003/instancepurexbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse015true3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse016false4vphm_EmployeeStockPurchasePlanFairValueOfSharesSoldvphm_falsecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse9750097500USD$falsetruefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe total fair value of shares sold to employees during the period related to the employee stock purchase plan.No definition available.false217true4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse018false5us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truetruefalse0.00080.0008falsefalsefalse2falsefalsefalse00falsefalsefalsenum:percentItemTypepureThe risk-free interest rate assumption that is used in valuing an option on its own shares.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (f)(2)(iv)
-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 e(2)(d)
-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.
false019false5us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truetruefalse0.28000.2800falsefalsefalse2falsefalsefalse00falsefalsefalsenum:percentItemTypepureThe estimated measure of the percentage by which a share price is expected to fluctuate during a period. Volatility also may be defined as a probability-weighted measure of the dispersion of returns about the mean. The volatility of a share price is the standard deviation of the continuously compounded rates of return on the share over a specified period. That is the same as the standard deviation of the differences in the natural logarithms of the stock prices plus dividends, if any, over the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (f)(2)(ii)
-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 e(2)(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.
false020false5us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse006 monthsfalsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaWeighted average period over which unrecognized compensation is expected to be recognized for equity-based compensation plans, 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 (i)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false0falseShare-based Compensation (Details 10) (USD $)NoRoundingNoRoundingUnKnownUnKnowntruefalsefalseSheethttp://www.viropharma.com/role/DisclosureShareBasedCompensationDetails10220