2.4.0.84032 - Disclosure - Fair value of financial instruments and marketable securities (Details 3)truefalsefalse1false
USDfalsefalse$I2013Q2http://www.sec.gov/CIK0001070081instant2013-06-30T00:00:000001-01-01T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true
3us-gaap_InvestmentHoldingsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
2false
4us-gaap_MarketableSecuritiesCurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse1158278611582786USD$falsetruefalse | xbrli:monetaryItemTypemonetaryAmount of investments in debt and equity securities, including, but not limited to, held-to-maturity, trading and available-for-sale expected to be converted to cash, sold or exchanged within one year or the normal operating cycle, if longer.Reference 1: 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.2)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26626-111562
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 2
-Article 5
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section 45
-Paragraph 1
-Subparagraph (f)
-URI http://asc.fasb.org/extlink&oid=28358313&loc=d3e6676-107765
false2
3false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2false
USDtruefalse$I2013Q2_CommercialPaperNotIncludedWithCashAndCashEquivalentsMember_FVhttp://www.sec.gov/CIK0001070081instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseCommercial paperus-gaap_InvestmentTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommercialPaperNotIncludedWithCashAndCashEquivalentsMemberus-gaap_InvestmentTypeAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
4true
3us-gaap_InvestmentHoldingsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
5false
4us-gaap_MarketableSecuritiesCurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse39991203999120USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investments in debt and equity securities, including, but not limited to, held-to-maturity, trading and available-for-sale expected to be converted to cash, sold or exchanged within one year or the normal operating cycle, if longer.Reference 1: 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.2)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26626-111562
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 2
-Article 5
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section 45
-Paragraph 1
-Subparagraph (f)
-URI http://asc.fasb.org/extlink&oid=28358313&loc=d3e6676-107765
false2
6false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 3false
USDtruefalse$I2013Q2_DomesticCorporateDebtSecuritiesMember_FVhttp://www.sec.gov/CIK0001070081instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseU.S. corporate debt securitiesus-gaap_InvestmentTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_DomesticCorporateDebtSecuritiesMemberus-gaap_InvestmentTypeAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
7true
3us-gaap_InvestmentHoldingsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
8false
4us-gaap_MarketableSecuritiesCurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse75836667583666USD$falsetruefalse | xbrli:monetaryItemTypemonetaryAmount of investments in debt and equity securities, including, but not limited to, held-to-maturity, trading and available-for-sale expected to be converted to cash, sold or exchanged within one year or the normal operating cycle, if longer.Reference 1: 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.2)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26626-111562
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 2
-Article 5
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section 45
-Paragraph 1
-Subparagraph (f)
-URI http://asc.fasb.org/extlink&oid=28358313&loc=d3e6676-107765
false2
falseFair value of financial instruments and marketable securities (Details 3) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.ptcbio.com/role/DisclosureFairValueOfFinancialInstrumentsAndMarketableSecuritiesDetails318