<?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">0001468748</identifier>
        </entity>
        <period>
            <startDate>2026-10-19</startDate>
            <endDate>2026-10-19</endDate>
        </period>
    </context>
    <context id="offrl_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001468748</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-10-19</startDate>
            <endDate>2026-10-19</endDate>
        </period>
    </context>
    <context id="offrl_2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001468748</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-10-19</startDate>
            <endDate>2026-10-19</endDate>
        </period>
    </context>
    <context id="offrl_3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001468748</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>3</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-10-19</startDate>
            <endDate>2026-10-19</endDate>
        </period>
    </context>
    <context id="offrl_4">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001468748</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>4</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-10-19</startDate>
            <endDate>2026-10-19</endDate>
        </period>
    </context>
    <context id="offrl_5">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001468748</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>5</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-10-19</startDate>
            <endDate>2026-10-19</endDate>
        </period>
    </context>
    <context id="offrl_6">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001468748</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>6</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-10-19</startDate>
            <endDate>2026-10-19</endDate>
        </period>
    </context>
    <context id="ofst_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001468748</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OffsetAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-10-19</startDate>
            <endDate>2026-10-19</endDate>
        </period>
    </context>
    <context id="ofst_2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001468748</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OffsetAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-10-19</startDate>
            <endDate>2026-10-19</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <ffd:FormTp contextRef="rc" id="ixv-484">S-3</ffd:FormTp>
    <ffd:SubmissnTp contextRef="rc" id="ixv-485">S-3ASR</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="rc" id="ixv-486">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityCentralIndexKey contextRef="rc" id="ixv-487">0001468748</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-488">Kodiak Sciences Inc.</dei:EntityRegistrantName>
    <ffd:OfferingTableNa contextRef="rc" id="hiddenrcOfferingTableNa" xsi:nil="true"/>
    <ffd:OffsetTableNa contextRef="rc" id="hiddenrcOffsetTableNa" xsi:nil="true"/>
    <ffd:CombinedProspectusTableNa contextRef="rc" id="hiddenrcCombinedProspectusTableNa">N/A</ffd:CombinedProspectusTableNa>
    <ffd:OffsetClmdInd contextRef="ofst_1" id="ixv-492">true</ffd:OffsetClmdInd>
    <ffd:OffsetClmdInd contextRef="ofst_2" id="ixv-493">false</ffd:OffsetClmdInd>
    <ffd:FormTp contextRef="rc" id="ixv-581">S-3</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-582">Kodiak Sciences Inc.</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg contextRef="offrl_1" id="ixv-583">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_1" id="ixv-584">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_1" id="ixv-585">Common Stock, $0.0001 par value per share</ffd:OfferingSctyTitl>
    <ffd:Rule457rFlg contextRef="offrl_1" id="ixv-586">true</ffd:Rule457rFlg>
    <ffd:FeeRate
      contextRef="offrl_1"
      decimals="6"
      id="ixv-587"
      unitRef="pure">0.000087</ffd:FeeRate>
    <ffd:PrevslyPdFlg contextRef="offrl_2" id="ixv-588">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_2" id="ixv-589">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_2" id="ixv-590">Preferred Stock, $0.0001 par value per share</ffd:OfferingSctyTitl>
    <ffd:Rule457rFlg contextRef="offrl_2" id="ixv-591">true</ffd:Rule457rFlg>
    <ffd:FeeRate
      contextRef="offrl_2"
      decimals="6"
      id="ixv-592"
      unitRef="pure">0.000087</ffd:FeeRate>
    <ffd:PrevslyPdFlg contextRef="offrl_3" id="ixv-593">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_3" id="ixv-594">Debt</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_3" id="ixv-595">Debt Securities</ffd:OfferingSctyTitl>
    <ffd:Rule457rFlg contextRef="offrl_3" id="ixv-596">true</ffd:Rule457rFlg>
    <ffd:FeeRate
      contextRef="offrl_3"
      decimals="6"
      id="ixv-597"
      unitRef="pure">0.000087</ffd:FeeRate>
    <ffd:PrevslyPdFlg contextRef="offrl_4" id="ixv-598">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_4" id="ixv-599">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_4" id="ixv-600">Warrants</ffd:OfferingSctyTitl>
    <ffd:Rule457rFlg contextRef="offrl_4" id="ixv-601">true</ffd:Rule457rFlg>
    <ffd:FeeRate
      contextRef="offrl_4"
      decimals="6"
      id="ixv-602"
      unitRef="pure">0.000087</ffd:FeeRate>
    <ffd:PrevslyPdFlg contextRef="offrl_5" id="ixv-603">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_5" id="ixv-604">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_5" id="ixv-605">Units</ffd:OfferingSctyTitl>
    <ffd:Rule457rFlg contextRef="offrl_5" id="ixv-606">true</ffd:Rule457rFlg>
    <ffd:FeeRate
      contextRef="offrl_5"
      decimals="6"
      id="ixv-607"
      unitRef="pure">0.000087</ffd:FeeRate>
    <ffd:PrevslyPdFlg contextRef="offrl_6" id="ixv-608">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_6" id="ixv-609">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_6" id="ixv-610">Common Stock, $0.0001 par value per share</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="offrl_6" id="ixv-611">true</ffd:Rule457oFlg>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_6"
      decimals="2"
      id="ixv-612"
      unitRef="USD">350000000.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_6"
      decimals="6"
      id="ixv-613"
      unitRef="pure">0.000087</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_6"
      decimals="2"
      id="ixv-614"
      unitRef="USD">30450.00</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="rc" decimals="2" id="ixv-615" unitRef="USD">350000000.00</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="rc" decimals="2" id="ixv-616" unitRef="USD">30450.00</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt contextRef="rc" decimals="2" id="ixv-617" unitRef="USD">0.00</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt contextRef="rc" decimals="2" id="ixv-618" unitRef="USD">18293.20</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="rc" decimals="2" id="ixv-619" unitRef="USD">12156.80</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="offrl_1" id="ixv-620">There are being registered hereunder such indeterminate number of shares of common stock, such indeterminate number of shares of preferred stock, such indeterminate principal amount of debt securities and such indeterminate number of warrants to purchase common stock, preferred stock and/or debt securities as may be sold from time to time by the Registrant. The securities registered hereunder also include such indeterminate number of shares of common stock, preferred stock and amount of debt securities as may be issued upon conversion of or exchange for debt securities that provide for conversion or exchange, upon exercise of warrants or pursuant to the antidilution provisions of any such securities. In addition, pursuant to Rule 416 under the Securities Act of 1933, as amended (the "Securities Act"), the shares being registered hereunder include such indeterminate number of shares of common stock and preferred stock as may be issuable with respect to the shares being registered hereunder as a result of stock splits, stock dividends or similar transactions. The proposed maximum offering price per unit and maximum aggregate offering prices per class of securities will be determined from time to time by the Registrant in connection with the issuance by the Registrant of the securities registered hereunder and is not specified as to each class of security pursuant to General Instruction I.D. and Instruction 2.A.iii.c. to the Calculation of Filing Fee Tables and Related Disclosure under Item 16(b) of Form S-3 under the Securities Act. Separate consideration may or may not be received for securities that are issuable on exercise, conversion or exchange of other securities. The Registrant is relying on Rules 456(b) and 457(r) under the Securities Act, to defer payment of the entire registration fee other than the registration fee due in connection with $350,000,000 of shares of common stock, par value $0.0001 per share, or Common Stock, that may be issued and sold from time to time under the prospectus contained in this registration statement. The Registrant will pay any subsequent registration fees in connection with the securities offered hereby on a "pay-as-you-go" basis in accordance with Rule 456(b) under the Securities Act. The Registrant will calculate the registration fee applicable to an offer of securities pursuant to this registration statement based on the fee rate in effect on the date of such fee payment.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_2" id="ixv-621">See Offering Note 1.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_3" id="ixv-622">See Offering Note 1.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_4" id="ixv-623">See Offering Note 1.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_5" id="ixv-624">See Offering Note 1. </ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_6" id="ixv-625">The registration fee is calculated in accordance with Rule 457(o) under the Securities Act based on the proposed maximum aggregate offering price for the shares of common stock that may be issued and sold from time to time under the prospectus contained in this registration statement.</ffd:OfferingNote>
    <ffd:Rule457pOffsetFlg contextRef="ofst_1" id="ixv-626">true</ffd:Rule457pOffsetFlg>
    <ffd:OffsetPrrFilerNm contextRef="ofst_1" id="ixv-627">Kodiak Sciences Inc.</ffd:OffsetPrrFilerNm>
    <ffd:OffsetPrrFormTp contextRef="ofst_1" id="ixv-628">S-3</ffd:OffsetPrrFormTp>
    <ffd:OffsetPrrFileNb contextRef="ofst_1" id="ixv-629">333-271946</ffd:OffsetPrrFileNb>
    <ffd:OffsetClmInitlFilgDt contextRef="ofst_1" id="ixv-630">2023-05-15</ffd:OffsetClmInitlFilgDt>
    <ffd:OffsetClmdAmt contextRef="ofst_1" decimals="2" id="ixv-631" unitRef="USD">18293.20</ffd:OffsetClmdAmt>
    <ffd:OffsetPrrSctyTp contextRef="ofst_1" id="ixv-632">Equity</ffd:OffsetPrrSctyTp>
    <ffd:OffsetPrrSctyTitl contextRef="ofst_1" id="ixv-633">Common Stock, $0.0001 par value per share</ffd:OffsetPrrSctyTitl>
    <ffd:OffsetPrrUnsoldOfferingAmt contextRef="ofst_1" decimals="2" id="ixv-634" unitRef="USD">166000000.00</ffd:OffsetPrrUnsoldOfferingAmt>
    <ffd:Rule457pOffsetFlg contextRef="ofst_2" id="ixv-635">true</ffd:Rule457pOffsetFlg>
    <ffd:OffsetPrrFilerNm contextRef="ofst_2" id="ixv-636">Kodiak Sciences Inc.</ffd:OffsetPrrFilerNm>
    <ffd:OffsetPrrFormTp contextRef="ofst_2" id="ixv-637">S-3</ffd:OffsetPrrFormTp>
    <ffd:OffsetPrrFileNb contextRef="ofst_2" id="ixv-638">333-271946</ffd:OffsetPrrFileNb>
    <ffd:OffsetSrcFilgDt contextRef="ofst_2" id="ixv-639">2023-05-15</ffd:OffsetSrcFilgDt>
    <ffd:OffsetPrrFeeAmt contextRef="ofst_2" decimals="2" id="ixv-640" unitRef="USD">18293.20</ffd:OffsetPrrFeeAmt>
    <ffd:TermntnCmpltnWdrwl contextRef="ofst_1" id="ixv-641">The Registrant previously registered $350,000,000 of an indeterminate amount of securities to be offered from time to time at prices to be determined at the time of each such offering pursuant to a Registration Statement on Form S-3 (File No. 333-271946) filed with the Securities and Exchange Commission ("SEC"), on May 15, 2023, and declared effective by the SEC on June 2, 2023 (the "Prior Registration Statement"). The Registrant previously paid an aggregate registration fee of $38,570 in connection with the Prior Registration Statement (based on the filing fee rate in effect at the time of the filing of the Prior Registration Statement). As of the date of filing of this Registration Statement, the Registrant sold an aggregate of $184,000,000 of such securities under the Prior Registration Statement, leaving the balance of $166,000,000 (the "Unsold Securities"), representing $18,293.20 in registration fees, of such Unsold Securities under the Prior Registration Statement. Pursuant to Rule 457(p) under the Securities Act, such unutilized filing fees may be applied to the filing fees payable pursuant to this Registration Statement. All offerings under the Prior Registration Statement have terminated.</ffd:TermntnCmpltnWdrwl>
    <ffd:OffsetNote contextRef="ofst_2" id="ixv-642">The Registrant previously registered $350,000,000 of an indeterminate amount of securities to be offered from time to time at prices to be determined at the time of each such offering pursuant to the Prior Registration Statement. The Registrant previously paid an aggregate registration fee of $38,570 in connection with the Prior Registration Statement (based on the filing fee rate in effect at the time of the filing of the Prior Registration Statement). As of the date of filing of this Registration Statement, the Registrant sold an aggregate of $184,000,000 of such securities under the Prior Registration Statement, leaving the balance of $166,000,000, representing $18,293.20 in registration fees, of such Unsold Securities under the Prior Registration Statement. Pursuant to Rule 457(p) under the Securities Act, such unutilized filing fees may be applied to the filing fees payable pursuant to this Registration Statement. All offerings under the Prior Registration Statement have terminated.</ffd:OffsetNote>
</xbrl>
