<?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="eras-20260511.xsd" xlink:type="simple"/>
    <context id="C_ce00cf80-ae9e-4aed-a3f7-c6ee75cc239a">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001761918</identifier>
        </entity>
        <period>
            <startDate>2026-05-11</startDate>
            <endDate>2026-05-11</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="C_ce00cf80-ae9e-4aed-a3f7-c6ee75cc239a"
      id="F_0bcbee04-ad25-4489-ba66-f28058bc51fd">0001761918</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="C_ce00cf80-ae9e-4aed-a3f7-c6ee75cc239a"
      id="F_2b236994-663b-4f18-9466-9ece109f8ebc">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="C_ce00cf80-ae9e-4aed-a3f7-c6ee75cc239a"
      id="F_d713bd6e-1183-4717-a291-e37594b4811a">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="C_ce00cf80-ae9e-4aed-a3f7-c6ee75cc239a"
      id="F_9f4af451-c19c-42e1-a5dc-24af659687df">2026-05-11</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="C_ce00cf80-ae9e-4aed-a3f7-c6ee75cc239a"
      id="F_2497e479-d553-4759-89dd-4ad779eae481">Erasca, Inc.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="C_ce00cf80-ae9e-4aed-a3f7-c6ee75cc239a"
      id="F_8549f534-4da7-43e5-bf39-0815273f521d">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="C_ce00cf80-ae9e-4aed-a3f7-c6ee75cc239a"
      id="F_daa9e4dc-20f4-4655-ae26-76ee670e8636">001-40602</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="C_ce00cf80-ae9e-4aed-a3f7-c6ee75cc239a"
      id="F_3ed4439d-1aaf-485a-889b-8ed783eaf120">83-1217027</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="C_ce00cf80-ae9e-4aed-a3f7-c6ee75cc239a"
      id="F_f1efe6b3-bfcf-4c9a-921e-7704afdc33e2">3115 Merryfield Row</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="C_ce00cf80-ae9e-4aed-a3f7-c6ee75cc239a"
      id="F_6a966646-591c-41ff-868d-2848326ef2ec">Suite 300</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="C_ce00cf80-ae9e-4aed-a3f7-c6ee75cc239a"
      id="F_137f0a91-a82a-477c-8f59-c9c6d2abe801">San Diego</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="C_ce00cf80-ae9e-4aed-a3f7-c6ee75cc239a"
      id="F_b6b6836b-745e-47f1-b65e-f0055d7da9c7">CA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="C_ce00cf80-ae9e-4aed-a3f7-c6ee75cc239a"
      id="F_c45918ae-588e-43fc-8dc8-d46f7bda4226">92121</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="C_ce00cf80-ae9e-4aed-a3f7-c6ee75cc239a"
      id="F_1da4fe48-49f0-4177-9c45-975faf678159">(858)</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="C_ce00cf80-ae9e-4aed-a3f7-c6ee75cc239a"
      id="F_62c93e2d-1a93-40cc-aaa5-62871e25adbf">465-6511</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="C_ce00cf80-ae9e-4aed-a3f7-c6ee75cc239a"
      id="F_bc107e6d-e463-4dd7-85e9-b14cf9d63549">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="C_ce00cf80-ae9e-4aed-a3f7-c6ee75cc239a"
      id="F_8b53c1ed-8d54-444b-86bb-8ee070a21786">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="C_ce00cf80-ae9e-4aed-a3f7-c6ee75cc239a"
      id="F_6f8a0507-dd3a-40b4-a900-da62135fc0b5">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="C_ce00cf80-ae9e-4aed-a3f7-c6ee75cc239a"
      id="F_09bb79ab-7ab2-48b9-a647-da2542e0f522">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="C_ce00cf80-ae9e-4aed-a3f7-c6ee75cc239a"
      id="F_525a7b57-b389-4118-8a37-9c3513e8994b">Common Stock, $0.0001 par value per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="C_ce00cf80-ae9e-4aed-a3f7-c6ee75cc239a"
      id="F_5fdada5c-ae23-4259-9cae-df643fe7a000">ERAS</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="C_ce00cf80-ae9e-4aed-a3f7-c6ee75cc239a"
      id="F_1f4b7ea4-18c9-489e-a2a5-69e9458e1b34">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="C_ce00cf80-ae9e-4aed-a3f7-c6ee75cc239a"
      id="F_79d0337f-94f5-4649-ae24-e758da7d7ef3">true</dei:EntityEmergingGrowthCompany>
    <dei:EntityExTransitionPeriod
      contextRef="C_ce00cf80-ae9e-4aed-a3f7-c6ee75cc239a"
      id="F_a5c90972-18e8-412d-b802-097b1207b04d">false</dei:EntityExTransitionPeriod>
</xbrl>
