<?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">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2026/ffd-2026.xsd"
      xlink:type="simple"/>
    <context id="C_968403d8-df2b-41e9-ac40-87e6effd6325">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001213037</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-21</startDate>
            <endDate>2026-07-21</endDate>
        </period>
    </context>
    <context id="C_b21f088c-9975-4ce8-a34e-7c2f9414c80e">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001213037</identifier>
        </entity>
        <period>
            <startDate>2026-07-21</startDate>
            <endDate>2026-07-21</endDate>
        </period>
    </context>
    <context id="C_327b1dd4-96a4-4684-b2d3-c9752a0947fe">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001213037</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-21</startDate>
            <endDate>2026-07-21</endDate>
        </period>
    </context>
    <unit id="U_pure">
        <measure>pure</measure>
    </unit>
    <unit id="U_shares">
        <measure>shares</measure>
    </unit>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:OffsetTableNa
      contextRef="C_b21f088c-9975-4ce8-a34e-7c2f9414c80e"
      id="F_d019f061-8d9d-4677-b9a0-74a3c1fccfff">N/A</ffd:OffsetTableNa>
    <ffd:TtlOffsetAmt
      contextRef="C_b21f088c-9975-4ce8-a34e-7c2f9414c80e"
      decimals="0"
      id="F_f2d7b06d-b27b-4eff-ae79-ebe3e31c5f80"
      unitRef="U_USD">0</ffd:TtlOffsetAmt>
    <dei:EntityCentralIndexKey
      contextRef="C_b21f088c-9975-4ce8-a34e-7c2f9414c80e"
      id="F_60ffa736-119d-4510-af0e-37a1552f2f74">0001213037</dei:EntityCentralIndexKey>
    <ffd:FeeExhibitTp
      contextRef="C_b21f088c-9975-4ce8-a34e-7c2f9414c80e"
      id="F_b2fe4a0a-8c34-444e-bee6-1d2bdc85cbfc">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:FormTp
      contextRef="C_b21f088c-9975-4ce8-a34e-7c2f9414c80e"
      id="F_bb0f52d3-7499-4f0e-afda-825fd8fc9b17">S-8</ffd:FormTp>
    <ffd:SubmissnTp
      contextRef="C_b21f088c-9975-4ce8-a34e-7c2f9414c80e"
      id="F_6194a3fa-5c3e-4a8e-826c-7dabb81f0c5a">S-8</ffd:SubmissnTp>
    <dei:EntityRegistrantName
      contextRef="C_b21f088c-9975-4ce8-a34e-7c2f9414c80e"
      id="F_77c483bb-afd3-4293-814b-95f7fb8b95ff">Cardiff Oncology, Inc.</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg
      contextRef="C_327b1dd4-96a4-4684-b2d3-c9752a0947fe"
      id="F_e8513e50-b3c4-4d45-bc3f-a774ab372157">false</ffd:PrevslyPdFlg>
    <ffd:PrevslyPdFlg
      contextRef="C_968403d8-df2b-41e9-ac40-87e6effd6325"
      id="F_e7d7f7cd-c50d-462b-b474-621f93f3818d">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp
      contextRef="C_327b1dd4-96a4-4684-b2d3-c9752a0947fe"
      id="F_1ee5753a-5112-4836-8d8e-8b422cad9671">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl
      contextRef="C_327b1dd4-96a4-4684-b2d3-c9752a0947fe"
      id="F_afa35844-f06c-4ba9-bfbb-0e6dc33afb5f">Common Stock, $0.0001 par value</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg
      contextRef="C_327b1dd4-96a4-4684-b2d3-c9752a0947fe"
      id="F_99be08f4-f18c-48dc-8fec-42cb010156ba">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="C_327b1dd4-96a4-4684-b2d3-c9752a0947fe"
      decimals="0"
      id="F_976a1652-e730-498e-88c5-05d2c34980be"
      unitRef="U_shares">886650</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="C_327b1dd4-96a4-4684-b2d3-c9752a0947fe"
      decimals="2"
      id="F_fa99501e-699d-4650-94d8-3c279e97d714"
      unitRef="U_USD">1.64</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="C_327b1dd4-96a4-4684-b2d3-c9752a0947fe"
      decimals="0"
      id="F_c37536c7-f963-4538-903a-ae4eb417a8c2"
      unitRef="U_USD">1454106</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="C_327b1dd4-96a4-4684-b2d3-c9752a0947fe"
      decimals="7"
      id="F_3e3d6386-faa0-429b-903f-866c1cc8ebec"
      unitRef="U_pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="C_327b1dd4-96a4-4684-b2d3-c9752a0947fe"
      decimals="2"
      id="F_e9fa8127-7321-4a99-9635-161f644936b4"
      unitRef="U_USD">200.81</ffd:FeeAmt>
    <ffd:OfferingSctyTp
      contextRef="C_968403d8-df2b-41e9-ac40-87e6effd6325"
      id="F_63af52d0-4c2d-4ac9-82a6-04d5b8c05d37">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl
      contextRef="C_968403d8-df2b-41e9-ac40-87e6effd6325"
      id="F_be466eb6-279e-4249-9b19-73d4b881cad2">Common Stock, $0.0001 par value</ffd:OfferingSctyTitl>
    <ffd:Rule457aFlg
      contextRef="C_968403d8-df2b-41e9-ac40-87e6effd6325"
      id="F_f3ed8471-5d54-4c60-a512-1f2b7f9c7e92">true</ffd:Rule457aFlg>
    <ffd:AmtSctiesRegd
      contextRef="C_968403d8-df2b-41e9-ac40-87e6effd6325"
      decimals="-6"
      id="F_6b9a9f11-e720-42a8-9412-39ff1ef30bf6"
      unitRef="U_shares">3000000</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="C_968403d8-df2b-41e9-ac40-87e6effd6325"
      decimals="2"
      id="F_8dddab35-eb96-40ec-8235-000677dc4439"
      unitRef="U_USD">0.9</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="C_968403d8-df2b-41e9-ac40-87e6effd6325"
      decimals="-3"
      id="F_858d6e6c-426b-4d8f-9294-7ede99b8a09e"
      unitRef="U_USD">2700000</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="C_968403d8-df2b-41e9-ac40-87e6effd6325"
      decimals="7"
      id="F_2e4e2f6b-1459-444d-bee0-e6a30dda692c"
      unitRef="U_pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="C_968403d8-df2b-41e9-ac40-87e6effd6325"
      decimals="2"
      id="F_da07e690-f1bd-4756-9dbc-15be51fa8471"
      unitRef="U_USD">372.87</ffd:FeeAmt>
    <ffd:TtlOfferingAmt
      contextRef="C_b21f088c-9975-4ce8-a34e-7c2f9414c80e"
      decimals="0"
      id="F_cff7fe1c-a9bb-4099-b64c-db9de73b9833"
      unitRef="U_USD">4154106</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt
      contextRef="C_b21f088c-9975-4ce8-a34e-7c2f9414c80e"
      decimals="2"
      id="F_e73ecc4e-dd00-46cb-a7d8-b0daed49f9d8"
      unitRef="U_USD">573.68</ffd:TtlFeeAmt>
    <ffd:NetFeeAmt
      contextRef="C_b21f088c-9975-4ce8-a34e-7c2f9414c80e"
      decimals="2"
      id="F_1de1ac8b-518b-46bd-8c79-25393e8d0fb2"
      unitRef="U_USD">573.68</ffd:NetFeeAmt>
    <ffd:OfferingNote
      contextRef="C_327b1dd4-96a4-4684-b2d3-c9752a0947fe"
      id="F_4e174505-dcb2-4352-bcf0-2b1d41a6bdcb">&lt;div&gt;&lt;div class="item-list-element-wrapper" style="margin-left:1.333%;display:flex;margin-top:0;justify-content:flex-start;align-items:baseline;margin-bottom:0;margin-right:10%;min-width:3.333%;text-align:left;"&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:9pt;font-family:Times New Roman;font-kerning:none;min-width:3.3780291282799726%;word-break:keep-all;display:inline-flex;justify-content:flex-start;"&gt;(1)&lt;/span&gt;&lt;div style="display:inline;"&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:9pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;Pursuant to Rule 416 under the Securities Act of 1933 (the &#x201c;Securities Act&#x201d;), the securities being registered hereunder also include such indeterminate number of additional shares of common stock as may from time to time be issued after the date hereof as a result of stock splits, stock dividends, recapitalizations or similar transactions.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="item-list-element-wrapper" style="margin-left:1.333%;display:flex;margin-top:0;justify-content:flex-start;align-items:baseline;margin-bottom:0;margin-right:10%;min-width:3.333%;text-align:left;"&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:9pt;font-family:Times New Roman;font-kerning:none;min-width:3.3780291282799726%;word-break:keep-all;display:inline-flex;justify-content:flex-start;"&gt;(2)&lt;/span&gt;&lt;div style="display:inline;"&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:9pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;Estimated solely for the purpose of calculating the registration fee in accordance with Rule 457(h) of the Securities Act, based on the weighted average exercise price of $1.64 per share.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</ffd:OfferingNote>
    <ffd:OfferingNote
      contextRef="C_968403d8-df2b-41e9-ac40-87e6effd6325"
      id="F_fe0083a7-43da-48b0-ba1a-0732ef385022">&lt;div class="item-list-element-wrapper" style="margin-left:1.333%;display:flex;margin-top:0;justify-content:flex-start;align-items:baseline;margin-bottom:0;margin-right:10%;min-width:3.333%;text-align:left;"&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:9pt;font-family:Times New Roman;font-kerning:none;min-width:3.3780291282799726%;word-break:keep-all;display:inline-flex;justify-content:flex-start;"&gt;(1)&lt;/span&gt;&lt;div style="display:inline;"&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:9pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;Pursuant to Rule 416 under the Securities Act of 1933 (the &#x201c;Securities Act&#x201d;), the securities being registered hereunder also include such indeterminate number of additional shares of common stock as may from time to time be issued after the date hereof as a result of stock splits, stock dividends, recapitalizations or similar transactions.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="item-list-element-wrapper" style="margin-left:1.333%;display:flex;margin-top:0;justify-content:flex-start;align-items:baseline;margin-bottom:0;margin-right:10%;min-width:3.333%;text-align:left;"&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:9pt;font-family:Times New Roman;font-kerning:none;min-width:3.3780291282799726%;word-break:keep-all;display:inline-flex;justify-content:flex-start;"&gt;(3)&lt;/span&gt;&lt;div style="display:inline;"&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:9pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;Estimated solely for the purpose of calculating the registration fee in accordance with Rule 457(c) of the Securities Act, based on the high and low sales prices of the Registrant&#x2019;s common stock as reported on the Nasdaq Capital Market on July 16, 2026, which date is within five business days prior to the filing of this Registration Statement.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</ffd:OfferingNote>
</xbrl>
