<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="idya-20260804.xsd" xlink:type="simple"/>
    <context id="C_b6aa51e6-c8b9-4fb2-9199-b3d35434d244">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001676725</identifier>
        </entity>
        <period>
            <startDate>2026-08-04</startDate>
            <endDate>2026-08-04</endDate>
        </period>
    </context>
    <dei:AmendmentFlag
      contextRef="C_b6aa51e6-c8b9-4fb2-9199-b3d35434d244"
      id="F_9114ab07-c29f-4931-bc6c-77c28a6b48d0">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="C_b6aa51e6-c8b9-4fb2-9199-b3d35434d244"
      id="F_875122fe-30d4-4f35-8394-2948b9e58c7a">0001676725</dei:EntityCentralIndexKey>
    <dei:DocumentType
      contextRef="C_b6aa51e6-c8b9-4fb2-9199-b3d35434d244"
      id="F_dc3658a9-38c3-474b-898c-d9e02df8c8e6">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="C_b6aa51e6-c8b9-4fb2-9199-b3d35434d244"
      id="F_69a86bc8-47ea-468f-a401-8b560604f2f2">2026-08-04</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="C_b6aa51e6-c8b9-4fb2-9199-b3d35434d244"
      id="F_09cdb95a-8fff-4c87-a459-e798ee3a0980">IDEAYA Biosciences, Inc.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="C_b6aa51e6-c8b9-4fb2-9199-b3d35434d244"
      id="F_1feb1628-bbdb-444a-aedd-df2dccce2997">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="C_b6aa51e6-c8b9-4fb2-9199-b3d35434d244"
      id="F_51a4bd2b-8c85-47ae-8f1a-b7e31bc35056">001-38915</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="C_b6aa51e6-c8b9-4fb2-9199-b3d35434d244"
      id="F_10a4aeea-9379-4872-b6e6-5e32016c279b">47-4268251</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="C_b6aa51e6-c8b9-4fb2-9199-b3d35434d244"
      id="F_c7995cdb-de18-4e15-8924-209a18b08262">5000 Shoreline Court</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="C_b6aa51e6-c8b9-4fb2-9199-b3d35434d244"
      id="F_bd2eea38-430d-46b9-956d-a414237746e7">Suite 300</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="C_b6aa51e6-c8b9-4fb2-9199-b3d35434d244"
      id="F_231fffb8-68a7-46a4-9405-a007c17f8923">South San Francisco</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="C_b6aa51e6-c8b9-4fb2-9199-b3d35434d244"
      id="F_08fe9362-ca5c-4dd5-a90e-e37f44cf85b0">CA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="C_b6aa51e6-c8b9-4fb2-9199-b3d35434d244"
      id="F_c3429083-a83c-472f-afd7-b391928b1330">94080</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="C_b6aa51e6-c8b9-4fb2-9199-b3d35434d244"
      id="F_de58e508-3067-4cdf-be85-ebf664d527f0">(650)</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="C_b6aa51e6-c8b9-4fb2-9199-b3d35434d244"
      id="F_74e31759-7144-4790-8aa7-42102d85e169">443-6209</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="C_b6aa51e6-c8b9-4fb2-9199-b3d35434d244"
      id="F_2f8e0990-8170-4326-ba49-f68f711785bf">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="C_b6aa51e6-c8b9-4fb2-9199-b3d35434d244"
      id="F_8423cc17-6396-42ce-82bc-1ed028405dd9">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="C_b6aa51e6-c8b9-4fb2-9199-b3d35434d244"
      id="F_a048ff66-9fc5-40e4-af96-7807a441d2fb">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="C_b6aa51e6-c8b9-4fb2-9199-b3d35434d244"
      id="F_9fcee760-cb68-46b8-ab44-3ea8b30c84c9">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="C_b6aa51e6-c8b9-4fb2-9199-b3d35434d244"
      id="F_2d421bd8-9793-4fc6-a023-10b870dd2dbd">Common Stock, $0.0001 par value per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="C_b6aa51e6-c8b9-4fb2-9199-b3d35434d244"
      id="F_5f3f5217-8726-4929-9b47-a5411db11c4d">IDYA</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="C_b6aa51e6-c8b9-4fb2-9199-b3d35434d244"
      id="F_c8e2237e-a612-4cf1-a1aa-8eadad864440">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="C_b6aa51e6-c8b9-4fb2-9199-b3d35434d244"
      id="F_df61ef6f-0cd0-422a-be5a-0e568bf8c124">false</dei:EntityEmergingGrowthCompany>
</xbrl>
