<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xml:lang="en-US"
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:ecd="http://xbrl.sec.gov/ecd/2026"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="kdk-20260424.xsd" xlink:type="simple"/>
    <context id="c-1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001853138</identifier>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey contextRef="c-1" id="f-2">0001853138</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="c-1" id="f-3">DEF 14A</dei:DocumentType>
    <dei:AmendmentFlag contextRef="c-1" id="f-4">false</dei:AmendmentFlag>
    <dei:EntityRegistrantName contextRef="c-1" id="f-1">Kodiak AI, Inc.</dei:EntityRegistrantName>
    <ecd:InsiderTrdPoliciesProcAdoptedFlag contextRef="c-1" id="f-5">true</ecd:InsiderTrdPoliciesProcAdoptedFlag>
    <ecd:AwardTmgMnpiDiscTextBlock contextRef="c-1" id="f-6">&lt;div style="margin-bottom:6pt;margin-top:6pt"&gt;&lt;span id="ib4f6e7c8d4b241e381546d191de9bdf5"&gt;&lt;/span&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:10pt;font-weight:700;line-height:120%"&gt;No Nonpublic Material Information Taken into Account for Executive Compensation&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-top:6pt;text-indent:36pt"&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:10pt;font-weight:400;line-height:120%"&gt;Our Board and Compensation Committee do not take material nonpublic information into account when determining the timing and terms of any stock option grant or any other equity compensation. The timing of any stock option grants to recipients in connection with new hires, promotions or other non-routine grants is tied to the event giving rise to the award (such as an employee&#x2019;s commencement of employment or promotion effective date). We have not timed the disclosure of material nonpublic information for the purpose of affecting the value of executive compensation. During fiscal year 2025, we did not award stock option grants to our named executive officers in the period beginning four business days before the filing or furnishing of a report disclosing material nonpublic information and ending one business day thereafter.&lt;/span&gt;&lt;/div&gt;</ecd:AwardTmgMnpiDiscTextBlock>
    <ecd:AwardTmgHowMnpiCnsdrdTextBlock contextRef="c-1" id="f-7">Our Board and Compensation Committee do not take material nonpublic information into account when determining the timing and terms of any stock option grant or any other equity compensation. The timing of any stock option grants to recipients in connection with new hires, promotions or other non-routine grants is tied to the event giving rise to the award (such as an employee&#x2019;s commencement of employment or promotion effective date).</ecd:AwardTmgHowMnpiCnsdrdTextBlock>
    <ecd:AwardTmgMnpiCnsdrdFlag contextRef="c-1" id="f-8">false</ecd:AwardTmgMnpiCnsdrdFlag>
    <ecd:AwardTmgMethodTextBlock contextRef="c-1" id="f-9">We have not timed the disclosure of material nonpublic information for the purpose of affecting the value of executive compensation. During fiscal year 2025, we did not award stock option grants to our named executive officers in the period beginning four business days before the filing or furnishing of a report disclosing material nonpublic information and ending one business day thereafter.</ecd:AwardTmgMethodTextBlock>
    <ecd:MnpiDiscTimedForCompValFlag contextRef="c-1" id="f-10">false</ecd:MnpiDiscTimedForCompValFlag>
    <ecd:AwardTmgPredtrmndFlag contextRef="c-1" id="f-11">false</ecd:AwardTmgPredtrmndFlag>
</xbrl>