<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2026"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2026/ffd-2026.xsd"
      xlink:type="simple"/>
    <context id="rc">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001676725</identifier>
        </entity>
        <period>
            <startDate>2026-05-05</startDate>
            <endDate>2026-05-05</endDate>
        </period>
    </context>
    <context id="offrl_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001676725</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-05</startDate>
            <endDate>2026-05-05</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:FormTp contextRef="rc" id="ixv-330">S-3</ffd:FormTp>
    <ffd:SubmissnTp contextRef="rc" id="ixv-331">424B5</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="rc" id="ixv-332">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:RegnFileNb contextRef="rc" id="ixv-333">333-295560</ffd:RegnFileNb>
    <dei:EntityCentralIndexKey contextRef="rc" id="ixv-334">0001676725</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-335">IDEAYA Biosciences, Inc.</dei:EntityRegistrantName>
    <ffd:OfferingTableNa contextRef="rc" id="hiddenrcOfferingTableNa" xsi:nil="true"/>
    <ffd:OffsetTableNa contextRef="rc" id="hiddenrcOffsetTableNa">N/A</ffd:OffsetTableNa>
    <ffd:CombinedProspectusTableNa contextRef="rc" id="hiddenrcCombinedProspectusTableNa">N/A</ffd:CombinedProspectusTableNa>
    <ffd:FnlPrspctsFlg contextRef="rc" id="ixv-339">false</ffd:FnlPrspctsFlg>
    <ffd:FormTp contextRef="rc" id="ixv-364">S-3</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-365">IDEAYA Biosciences, Inc.</dei:EntityRegistrantName>
    <ffd:OfferingSctyTp contextRef="offrl_1" id="ixv-366">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_1" id="ixv-367">Common Stock, $0.0001 par value per share</ffd:OfferingSctyTitl>
    <ffd:Rule415a6Flg contextRef="offrl_1" id="ixv-368">true</ffd:Rule415a6Flg>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_1"
      decimals="2"
      id="ixv-369"
      unitRef="USD">156552996.81</ffd:MaxAggtOfferingPric>
    <ffd:CfwdFormTp contextRef="offrl_1" id="ixv-370">S-3</ffd:CfwdFormTp>
    <ffd:CfwdPrrFileNb contextRef="offrl_1" id="ixv-371">333-272936</ffd:CfwdPrrFileNb>
    <ffd:CfwdPrrFctvDt contextRef="offrl_1" id="ixv-372">2023-06-26</ffd:CfwdPrrFctvDt>
    <ffd:CfwdPrevslyPdFee
      contextRef="offrl_1"
      decimals="2"
      id="ixv-373"
      unitRef="USD">23107.22</ffd:CfwdPrevslyPdFee>
    <ffd:TtlOfferingAmt contextRef="rc" decimals="2" id="ixv-374" unitRef="USD">156552996.81</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="rc" decimals="2" id="ixv-375" unitRef="USD">0.00</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt contextRef="rc" decimals="2" id="ixv-376" unitRef="USD">0.00</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt contextRef="rc" decimals="2" id="ixv-377" unitRef="USD">0.00</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="rc" decimals="2" id="ixv-378" unitRef="USD">0.00</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="offrl_1" id="ixv-379">IDEAYA Biosciences, Inc. (the "Company") previously registered the offer and sale of shares of common stock having an aggregate offering price of up to $350,000,000 by means of a prospectus supplement filed pursuant to Rule 424(b)(5) under the Securities Act on January 19, 2024 (the "2024 ATM Prospectus Supplement"), pursuant to IDEAYA Biosciences, Inc.'s registration statement on Form S-3ASR (File No. 333-272936) filed with the Securities and Exchange Commission on June 26, 2023 (the "Prior Registration Statement"). In connection with the filing of the 2024 ATM Prospectus Supplement, the Company paid a filing fee of $51,660.00 in connection with the registration of shares of common stock having a maximum aggregate offering price of $350,000,000 to be issued and sold as part of an "at-the-market" offering. Of those shares of common stock, shares having an aggregate sales price of $193,447,003.19 have been sold and shares of common stock with a maximum aggregate offering price of $156,552,996.81 remain unsold (the "Carry Forward Securities"). Pursuant to Rule 415(a)(6) under the Securities Act, the securities registered pursuant to this registration statement include the Carry Forward Securities, and the registration fees totaling $23,107.22 that were previously paid on January 19, 2024 with respect to the Carry Forward Securities will continue to be applied to the Carry Forward Securities. Pursuant to Rule 415(a)(6), the offering of the Carry Forward Securities under the Prior Registration Statement is deemed terminated as of the effective date of this registration statement.</ffd:OfferingNote>
</xbrl>
