<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="vstm-20260521.xsd" xlink:type="simple"/>
    <context id="Duration_5_21_2026_To_5_21_2026_-ftIbfFm-0uIs2rrKodNDw">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001526119</identifier>
        </entity>
        <period>
            <startDate>2026-05-21</startDate>
            <endDate>2026-05-21</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_5_21_2026_To_5_21_2026_-ftIbfFm-0uIs2rrKodNDw"
      id="Tc_FKv_4HqKOUWdWp98M_5ieQ_2_1">0001526119</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_5_21_2026_To_5_21_2026_-ftIbfFm-0uIs2rrKodNDw"
      id="Tc_fIbBG3mYx0eLyKDlJa_9kA_3_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_5_21_2026_To_5_21_2026_-ftIbfFm-0uIs2rrKodNDw"
      id="Narr_Aldob3IIwke2JxRzcCvuAQ">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_5_21_2026_To_5_21_2026_-ftIbfFm-0uIs2rrKodNDw"
      id="Narr_c2wIQ4y-wk61BPaGF_e-6w">2026-05-21</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_5_21_2026_To_5_21_2026_-ftIbfFm-0uIs2rrKodNDw"
      id="Narr_p8DhTycTIka4zMN7ohC1qQ">Verastem, Inc.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_5_21_2026_To_5_21_2026_-ftIbfFm-0uIs2rrKodNDw"
      id="Tc_F42nM-TUoUGrDgXM2ZLA9A_1_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_5_21_2026_To_5_21_2026_-ftIbfFm-0uIs2rrKodNDw"
      id="Tc_g0IFsimuoUmFuUBvTrYfIQ_1_2">001-35403</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_5_21_2026_To_5_21_2026_-ftIbfFm-0uIs2rrKodNDw"
      id="Tc_V56bp7Kczk2DSuahi4VgtA_1_4">27-3269467</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_5_21_2026_To_5_21_2026_-ftIbfFm-0uIs2rrKodNDw"
      id="Narr_QEAr9UgWhUSwBpNt8azY5Q">117 Kendrick Street</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="Duration_5_21_2026_To_5_21_2026_-ftIbfFm-0uIs2rrKodNDw"
      id="Narr_GG4j95chCE2F_rmFkV0caw">Suite 500</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_5_21_2026_To_5_21_2026_-ftIbfFm-0uIs2rrKodNDw"
      id="Narr_MhzFssQH7E-ClWL27MnJQA">Needham</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_5_21_2026_To_5_21_2026_-ftIbfFm-0uIs2rrKodNDw"
      id="Narr_L69A3sj8M0iQgxaBgHgPdA">MA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_5_21_2026_To_5_21_2026_-ftIbfFm-0uIs2rrKodNDw"
      id="Tc__QQsCKcA50Cby1HIftu9jQ_1_2">02494</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_5_21_2026_To_5_21_2026_-ftIbfFm-0uIs2rrKodNDw"
      id="Narr_wNi0l3kVh0qTSsdYG3KREw">781</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_5_21_2026_To_5_21_2026_-ftIbfFm-0uIs2rrKodNDw"
      id="Narr_vAA36gWbx0qsfXqDAG7NGg">292-4200</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_5_21_2026_To_5_21_2026_-ftIbfFm-0uIs2rrKodNDw"
      id="Narr_jn10WEJVA0OkxWC_3a4Cpg">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_5_21_2026_To_5_21_2026_-ftIbfFm-0uIs2rrKodNDw"
      id="Narr_N1shFQvWKEKm7nLV9x3MRw">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_5_21_2026_To_5_21_2026_-ftIbfFm-0uIs2rrKodNDw"
      id="Narr_F_u1HDpRGkuld2uCztWo-A">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_5_21_2026_To_5_21_2026_-ftIbfFm-0uIs2rrKodNDw"
      id="Narr_anXHMuLUvU-srMwUwP8xDQ">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_5_21_2026_To_5_21_2026_-ftIbfFm-0uIs2rrKodNDw"
      id="Tc_PfIVpeVvd0mADIGM1Zka2A_2_0">Common stock, $0.0001 par value per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_5_21_2026_To_5_21_2026_-ftIbfFm-0uIs2rrKodNDw"
      id="Tc_zuhdJLJ3202Q93YmOQ-pFA_2_2">VSTM</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_5_21_2026_To_5_21_2026_-ftIbfFm-0uIs2rrKodNDw"
      id="Narr_-P32sIgjF0SQQ_kCPqrtsA">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_5_21_2026_To_5_21_2026_-ftIbfFm-0uIs2rrKodNDw"
      id="Narr_EJkXBo6swUGmVRuGhnWEZg">false</dei:EntityEmergingGrowthCompany>
</xbrl>
