2.4.0.84132 - Disclosure - Fair Value Measurement (Details 3)truefalsefalse1falseUSDfalsefalse$D2013Q2YTDhttp://www.sec.gov/CIK0000946840duration2013-01-01T00:00:002013-06-30T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2falseUSDfalsefalse$I2012http://www.sec.gov/CIK0000946840instant2012-12-31T00:00:000001-01-01T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3falseUSDtruefalse$I2013Q2_TwoPercentSeniorConvertibleNotesDueMarchTwoThousandSeventeenMemberhttp://www.sec.gov/CIK0000946840instant2013-06-30T00:00:000001-01-01T00:00:00falsefalse2% Senior Convertible Notes Due 2017us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldivphm_TwoPercentSeniorConvertibleNotesDueMarchTwoThousandSeventeenMemberus-gaap_LongtermDebtTypeAxisexplicitMemberPureStandardhttp://www.xbrl.org/2003/instancepurexbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$4falseUSDtruefalse$I2007Q1_M0326_TwoPercentSeniorConvertibleNotesDueMarchTwoThousandSeventeenMemberhttp://www.sec.gov/CIK0000946840instant2007-03-26T00:00:000001-01-01T00:00:00falsefalse2% Senior Convertible Notes Due 2017us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldivphm_TwoPercentSeniorConvertibleNotesDueMarchTwoThousandSeventeenMemberus-gaap_LongtermDebtTypeAxisexplicitMemberPureStandardhttp://www.xbrl.org/2003/instancepurexbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$5falsetruefalseD2013Q2YTD_ContingentConsiderationMember_RegulatoryApprovalsProbabilityAdjustedContingentPaymentsMemberhttp://www.sec.gov/CIK0000946840duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseContingent considerationus-gaap_FairValueByLiabilityClassAxisxbrldihttp://xbrl.org/2006/xbrldivphm_ContingentConsiderationMemberus-gaap_FairValueByLiabilityClassAxisexplicitMemberfalsefalseRegulatory approvals contingency factor, probability adjusted contingent paymentsus-gaap_ContingentConsiderationByTypeAxisxbrldihttp://xbrl.org/2006/xbrldivphm_RegulatoryApprovalsProbabilityAdjustedContingentPaymentsMemberus-gaap_ContingentConsiderationByTypeAxisexplicitMemberPureStandardhttp://www.xbrl.org/2003/instancepurexbrli06falsetruefalseD2013Q2YTD_ContingentConsiderationMember_RegulatoryApprovalsExpectedApprovalDatesMemberhttp://www.sec.gov/CIK0000946840duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseContingent considerationus-gaap_FairValueByLiabilityClassAxisxbrldihttp://xbrl.org/2006/xbrldivphm_ContingentConsiderationMemberus-gaap_FairValueByLiabilityClassAxisexplicitMemberfalsefalseRegulatory approvals contingency factor, expected approval datesus-gaap_ContingentConsiderationByTypeAxisxbrldihttp://xbrl.org/2006/xbrldivphm_RegulatoryApprovalsExpectedApprovalDatesMemberus-gaap_ContingentConsiderationByTypeAxisexplicitMemberPureStandardhttp://www.xbrl.org/2003/instancepurexbrli07falsetruefalseD2013Q2YTD_ContingentConsiderationMember_AttainmentOfFutureRevenueTargetsContingencyFactorMemberhttp://www.sec.gov/CIK0000946840duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseContingent considerationus-gaap_FairValueByLiabilityClassAxisxbrldihttp://xbrl.org/2006/xbrldivphm_ContingentConsiderationMemberus-gaap_FairValueByLiabilityClassAxisexplicitMemberfalsefalseAttainment of future revenue targets contingency factorus-gaap_ContingentConsiderationByTypeAxisxbrldihttp://xbrl.org/2006/xbrldivphm_AttainmentOfFutureRevenueTargetsContingencyFactorMemberus-gaap_ContingentConsiderationByTypeAxisexplicitMemberPureStandardhttp://www.xbrl.org/2003/instancepurexbrli01true3us-gaap_FairValueInputsLiabilitiesQuantitativeInformationLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false4us-gaap_FairValueInputsDiscountRateus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsetruefalse00falsefalsefalse2falsetruefalse00falsefalsefalse3falsetruefalse00falsefalsefalse4falsetruefalse00falsefalsefalse5truetruefalse0.130.13falsefalsefalse6truetruefalse0.2030.203falsefalsefalse7truetruefalse0.160.16falsefalsefalsenum:percentItemTypepureInterest rate used to find the present value of an amount to be paid or received in the future as an input to measure fair value. For example, but not limited to, weighted average cost of capital (WACC), cost of capital, cost of equity and cost of debt.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 820
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (bbb)
-URI http://asc.fasb.org/extlink&oid=7578670&loc=d3e19207-110258
false03false4us-gaap_DebtInstrumentCarryingAmountus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse205000000205000000USD$falsetruefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryIncluding current and noncurrent portions, aggregate carrying amount of long-term borrowings as of the balance sheet date before deducting unamortized discount or premiums (if any). May include notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt, which had initial maturities beyond one year or beyond the normal operating cycle, if longer.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 20
-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.22)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 22
-Article 5
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 16
-Article 9
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number APB14-1
-Paragraph 31
-Subparagraph 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.
false24false4us-gaap_ConvertibleNotesPayableus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalsepositiveLabel1truefalsefalse166205000166205000falsefalsefalse2truefalsefalse161793000161793000falsefalsefalse3truefalsefalse166200000166200000falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryIncluding the current and noncurrent portions, carrying value as of the balance sheet date of a written promise to pay a note, initially due after one year or beyond the operating cycle if longer, which can be exchanged for a specified amount of one or more securities (typically common stock), at the option of the issuer or the holder.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.9-03.16)
-URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 16
-Article 9
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-03.16(a))
-URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 20, 22
-Article 5
false25false4us-gaap_ConvertibleDebtFairValueDisclosuresus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse340600000340600000falsefalsefalse4truefalsefalse148100000148100000falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. Fair value of convertible debt at the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Convertible Security
-URI http://asc.fasb.org/extlink&oid=6509036
false26false4us-gaap_DebtInstrumentInterestRateStatedPercentageus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalsepositiveLabel1falsetruefalse00falsefalsefalse2falsetruefalse00falsefalsefalse3truetruefalse0.020.02falsefalsefalse4truetruefalse0.020.02falsefalsefalse5falsetruefalse00falsefalsefalse6falsetruefalse00falsefalsefalse7falsetruefalse00falsefalsefalsenum:percentItemTypepureInterest rate stated in the contractual debt agreement.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 22
-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.22(a)(1))
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false07false4vphm_FairValueAssetsAndLiabilitiesIntoOrOutOfLevel1TransfersAmountvphm_falsecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of transfers into or out of level 1 during the period.No definition available.false28false4vphm_FairValueAssetsAndLiabilitiesIntoOrOutOfLevel2TransfersAmountvphm_falsecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsetruefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of transfers into or out of level 2 during the period.No definition available.false2falseFair Value Measurement (Details 3) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.viropharma.com/role/DisclosureFairValueMeasurementDetails378