2.4.0.84010 - Disclosure - Summary of significant accounting policies (Details)truefalsefalse1false USDfalsefalseD2013Q3_M07_SubsequentEventMemberhttp://www.sec.gov/CIK0001526119duration2013-07-01T00:00:002013-07-31T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0$1false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse1false USDtruefalseD2013Q3_M07_SubsequentEventMemberhttp://www.sec.gov/CIK0001526119duration2013-07-01T00:00:002013-07-31T00:00:00falsefalseSubsequent eventus-gaap_SubsequentEventTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_SubsequentEventMemberus-gaap_SubsequentEventTypeAxisexplicitMemberSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0$nanafalse02true 3us-gaap_SubsequentEventLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse03false 4us-gaap_StockIssuedDuringPeriodSharesNewIssuesus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse42550004255000falsefalsefalsexbrli:sharesItemTypesharesNumber of new stock issued during the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher AICPA -Name Accounting Principles Board Opinion (APB) -Number 12 -Paragraph 10 -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 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Article 3 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=6959260&loc=d3e187085-122770 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 29, 30 -Article 5 false14false 4us-gaap_SharePriceus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1515USD$falsetruefalsenum:perShareItemTypedecimalPrice of a single share of a number of saleable stocks of a company.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=7578670&loc=d3e19207-110258 false3falseSummary of significant accounting policies (Details) (Subsequent event, USD $)UnKnownNoRoundingNoRoundingUnKnowntruefalsefalseSheethttp://www.verastem.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails14