2.4.0.84020 - Disclosure - Summary of significant accounting policies (Details)truefalsefalse1false falsefalseD2013Q1_M0307_CommonStockMemberhttp://www.sec.gov/CIK0001070081duration2013-03-06T00:00:002013-03-07T00:00:00PureStandardhttp://www.xbrl.org/2003/instancepurexbrli01false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse1false truefalseD2013Q1_M0307_CommonStockMemberhttp://www.sec.gov/CIK0001070081duration2013-03-06T00:00:002013-03-07T00:00:00falsefalseCommon stockus-gaap_StatementClassOfStockAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommonStockMemberus-gaap_StatementClassOfStockAxisexplicitMemberPureStandardhttp://www.xbrl.org/2003/instancepurexbrli0nanafalse02true 4ptct_ReverseStockSplitAbstractptct_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse03false 5us-gaap_StockholdersEquityNoteStockSplitConversionRatio1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse0.00830.0083falsefalsefalsexbrli:pureItemTypepureRatio applied to the conversion of stock split, for example but not limited to, one share converted to two or two shares converted to one.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Stock Split -URI http://asc.fasb.org/extlink&oid=6525746 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 4 -Subparagraph (SAB TOPIC 4.C) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187143-122770 false0falseSummary of significant accounting policies (Details) (Common stock)UnKnownUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.ptcbio.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails13