2.4.0.84099 - Disclosure - Share-based Compensation (Details 10)truefalsefalse1false falsefalseD2013Q2YTD_EmployeeStockMemberhttp://www.sec.gov/CIK0000946840duration2013-01-01T00:00:002013-06-30T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli02false falsefalseD2012_EmployeeStockMemberhttp://www.sec.gov/CIK0000946840duration2012-01-01T00:00:002012-12-31T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli01true 3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 4us-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 false13false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse2false truefalseD2013Q2YTD_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/instancesharesxbrli0nanafalse04true 3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse05false 4us-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. false16false 4us-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 false17false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse4false USDtruefalse$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$nanafalse08true 3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse09false 4vphm_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.false210true 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse011false 5us-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. false012false 5us-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. false013false 5us-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 false014false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse5false USDtruefalse$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$nanafalse015true 3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse016false 4vphm_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.false217true 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse018false 5us-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. false019false 5us-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. false020false 5us-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