<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2025"
  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/2025/ffd-2025.xsd"
      xlink:type="simple"/>
    <context id="C_9ca23929-1e8c-47e3-b0fd-9ddab0bec74b">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001787400</identifier>
        </entity>
        <period>
            <startDate>2026-01-05</startDate>
            <endDate>2026-01-05</endDate>
        </period>
    </context>
    <context id="C_9db6c444-a5e3-43d9-8ebb-6896ee51b15e">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001787400</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-01-05</startDate>
            <endDate>2026-01-05</endDate>
        </period>
    </context>
    <context id="C_d01ccc95-dc01-4601-83a9-3a44fcce890e">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001787400</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-01-05</startDate>
            <endDate>2026-01-05</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:PrevslyPdFlg
      contextRef="C_d01ccc95-dc01-4601-83a9-3a44fcce890e"
      id="F_bd6e3784-9623-485f-9c61-38681f42652f">false</ffd:PrevslyPdFlg>
    <dei:EntityCentralIndexKey
      contextRef="C_9ca23929-1e8c-47e3-b0fd-9ddab0bec74b"
      id="F_7ef3ef16-4d54-4f9a-b085-44648a786570">0001787400</dei:EntityCentralIndexKey>
    <ffd:PrevslyPdFlg
      contextRef="C_9db6c444-a5e3-43d9-8ebb-6896ee51b15e"
      id="F_088fcb38-9393-4405-bab5-c0f6e6cade43">false</ffd:PrevslyPdFlg>
    <ffd:OffsetTableNa
      contextRef="C_9ca23929-1e8c-47e3-b0fd-9ddab0bec74b"
      id="F_0b44fa77-eb0a-410c-9e72-69d9a13fa3da">N/A</ffd:OffsetTableNa>
    <ffd:FeeExhibitTp
      contextRef="C_9ca23929-1e8c-47e3-b0fd-9ddab0bec74b"
      id="F_965ccffe-e4e3-4ec2-a96f-d7ec43497440">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:FormTp
      contextRef="C_9ca23929-1e8c-47e3-b0fd-9ddab0bec74b"
      id="F_5b6860ea-a18a-4121-ba9d-b4862a109aa6">S-8</ffd:FormTp>
    <ffd:SubmissnTp
      contextRef="C_9ca23929-1e8c-47e3-b0fd-9ddab0bec74b"
      id="F_5b42a5e4-ace4-4134-bed3-b497ce1f9d00">S-8</ffd:SubmissnTp>
    <dei:EntityRegistrantName
      contextRef="C_9ca23929-1e8c-47e3-b0fd-9ddab0bec74b"
      id="F_ccf92b71-fa93-4028-9767-9c6f54ed7b4d">Nkarta, Inc.</dei:EntityRegistrantName>
    <ffd:OfferingSctyTp
      contextRef="C_d01ccc95-dc01-4601-83a9-3a44fcce890e"
      id="F_e2497a22-ede7-426d-a05b-9c43f20e0a1c">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl
      contextRef="C_d01ccc95-dc01-4601-83a9-3a44fcce890e"
      id="F_03a96be7-bf07-40b6-957d-be8bf71d1525">Common Stock, $0.0001 par value per share</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg
      contextRef="C_d01ccc95-dc01-4601-83a9-3a44fcce890e"
      id="F_71320c4d-5318-4440-86f7-59291801605a">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="C_d01ccc95-dc01-4601-83a9-3a44fcce890e"
      decimals="0"
      id="F_ffa5f378-c94c-4492-8fab-01ab153ff5aa"
      unitRef="U_shares">3553926</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="C_d01ccc95-dc01-4601-83a9-3a44fcce890e"
      decimals="2"
      id="F_2a04c744-b4e7-4619-8a6f-2373d88c6560"
      unitRef="U_USD">1.83</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="C_d01ccc95-dc01-4601-83a9-3a44fcce890e"
      decimals="2"
      id="F_3dafd254-1351-45c3-8058-aa32974df466"
      unitRef="U_USD">6503684.58</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="C_d01ccc95-dc01-4601-83a9-3a44fcce890e"
      decimals="7"
      id="F_75701ccf-4940-4d5a-b9d9-cba79aa09c14"
      unitRef="U_pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="C_d01ccc95-dc01-4601-83a9-3a44fcce890e"
      decimals="2"
      id="F_56aef27e-5263-4755-b146-2f790c2617a3"
      unitRef="U_USD">898.16</ffd:FeeAmt>
    <ffd:OfferingSctyTp
      contextRef="C_9db6c444-a5e3-43d9-8ebb-6896ee51b15e"
      id="F_3ac5e885-e1a4-45e9-a62d-c99a18110f24">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl
      contextRef="C_9db6c444-a5e3-43d9-8ebb-6896ee51b15e"
      id="F_566ba3ca-d40b-47f8-9f7a-081e337798ca">Common Stock, $0.0001 par value per share</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg
      contextRef="C_9db6c444-a5e3-43d9-8ebb-6896ee51b15e"
      id="F_e9afe678-eadf-458e-97ba-22b454f83160">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="C_9db6c444-a5e3-43d9-8ebb-6896ee51b15e"
      decimals="0"
      id="F_cedf25da-0418-4ce4-9b34-a8b430023624"
      unitRef="U_shares">710785</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="C_9db6c444-a5e3-43d9-8ebb-6896ee51b15e"
      decimals="2"
      id="F_f739ba5f-d358-42e7-a243-2b9c0732d612"
      unitRef="U_USD">1.83</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="C_9db6c444-a5e3-43d9-8ebb-6896ee51b15e"
      decimals="2"
      id="F_27fd576a-1d3c-4151-aadd-72398902fc0d"
      unitRef="U_USD">1300736.55</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="C_9db6c444-a5e3-43d9-8ebb-6896ee51b15e"
      decimals="7"
      id="F_4056061e-fbc1-46b5-8085-1afb8df71f70"
      unitRef="U_pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="C_9db6c444-a5e3-43d9-8ebb-6896ee51b15e"
      decimals="2"
      id="F_b4e373c5-89a0-416c-a3bd-6a863d0ace10"
      unitRef="U_USD">179.63</ffd:FeeAmt>
    <ffd:TtlOfferingAmt
      contextRef="C_9ca23929-1e8c-47e3-b0fd-9ddab0bec74b"
      decimals="2"
      id="F_27c0129b-bebf-43f4-8e88-e161bb215c98"
      unitRef="U_USD">7804421.13</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt
      contextRef="C_9ca23929-1e8c-47e3-b0fd-9ddab0bec74b"
      decimals="2"
      id="F_02edf32f-b3b1-48d0-a97a-b4a398480480"
      unitRef="U_USD">1077.79</ffd:TtlFeeAmt>
    <ffd:TtlOffsetAmt
      contextRef="C_9ca23929-1e8c-47e3-b0fd-9ddab0bec74b"
      decimals="0"
      id="F_6052fd59-e0e9-4f50-8eb9-a1cef2e1a308"
      unitRef="U_USD">0</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt
      contextRef="C_9ca23929-1e8c-47e3-b0fd-9ddab0bec74b"
      decimals="2"
      id="F_ed77314a-5d7b-43d5-85e2-f8adf252d672"
      unitRef="U_USD">1077.79</ffd:NetFeeAmt>
    <ffd:OfferingNote
      contextRef="C_d01ccc95-dc01-4601-83a9-3a44fcce890e"
      id="F_86b2f31a-9e47-4b90-be84-5ed6e86ab104">&lt;div class="item-list-element-wrapper" style="margin-left:13.333%;display:flex;margin-top:6pt;justify-content:flex-start;align-items:baseline;margin-bottom:0;min-width:4.537%;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:5.234979865462056%;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;This Registration Statement covers shares of Nkarta, Inc., a Delaware corporation (the &#x201c;Registrant&#x201d;), common stock, par value $0.0001 per share (the &#x201c;Common Stock&#x201d;), that were automatically added to the shares reserved for future issuance under the Nkarta, Inc. 2020 Performance Incentive Plan and the Nkarta, Inc. Employee Stock Purchase Plan (the &#x201c;Plans&#x201d;) on January 5, 2026 pursuant to certain provisions of the Plans that provide for an automatic increase in the share reserve each year in accordance with a formula set forth in the applicable Plan.  In addition, this Registration Statement covers options and other rights to purchase or acquire the shares of Common Stock covered by this Registration Statement and, pursuant to Rule 416 under the Securities Act of 1933, as amended (the &#x201c;Securities Act&#x201d;), an additional indeterminate number of shares, options and rights that may be offered or issued pursuant to the Plans as a result of one or more adjustments under the Plans to prevent dilution resulting from one or more stock splits, stock dividends or similar transactions.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style="margin-left:17.867%;font-size:10pt;margin-top:9pt;font-family:Times New Roman;margin-bottom:0;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:fit-content;"&gt;The offering price per share and the aggregate offering price for each Plan have been estimated solely for the purpose of calculating the amount of the registration fee. The offering price per share and the aggregate offering price are based upon the average of the high and low prices of the Registrant&#x2019;s common stock as reported on the Nasdaq Stock Market on December 31, 2025.  The registration fee for each Plan has been calculated in accordance with Rule 457(h) and Rule 457(c) promulgated under the Securities Act.&lt;/span&gt;&lt;/p&gt;&lt;div class="item-list-element-wrapper" style="margin-left:13.333%;display:flex;margin-top:9pt;justify-content:flex-start;align-items:baseline;margin-bottom:0;min-width:4.537%;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:5.234979865462056%;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;See Note 1. &lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</ffd:OfferingNote>
    <ffd:OfferingNote
      contextRef="C_9db6c444-a5e3-43d9-8ebb-6896ee51b15e"
      id="F_47ac18a3-2dcc-442e-a6e5-0ed784f8c4fb">&lt;div class="item-list-element-wrapper" style="margin-left:13.333%;display:flex;margin-top:6pt;justify-content:flex-start;align-items:baseline;margin-bottom:0;min-width:4.537%;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:5.234979865462056%;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;This Registration Statement covers shares of Nkarta, Inc., a Delaware corporation (the &#x201c;Registrant&#x201d;), common stock, par value $0.0001 per share (the &#x201c;Common Stock&#x201d;), that were automatically added to the shares reserved for future issuance under the Nkarta, Inc. 2020 Performance Incentive Plan and the Nkarta, Inc. Employee Stock Purchase Plan (the &#x201c;Plans&#x201d;) on January 5, 2026 pursuant to certain provisions of the Plans that provide for an automatic increase in the share reserve each year in accordance with a formula set forth in the applicable Plan.  In addition, this Registration Statement covers options and other rights to purchase or acquire the shares of Common Stock covered by this Registration Statement and, pursuant to Rule 416 under the Securities Act of 1933, as amended (the &#x201c;Securities Act&#x201d;), an additional indeterminate number of shares, options and rights that may be offered or issued pursuant to the Plans as a result of one or more adjustments under the Plans to prevent dilution resulting from one or more stock splits, stock dividends or similar transactions.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style="margin-left:17.867%;font-size:10pt;margin-top:9pt;font-family:Times New Roman;margin-bottom:0;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:fit-content;"&gt;The offering price per share and the aggregate offering price for each Plan have been estimated solely for the purpose of calculating the amount of the registration fee. The offering price per share and the aggregate offering price are based upon the average of the high and low prices of the Registrant&#x2019;s common stock as reported on the Nasdaq Stock Market on December 31, 2025.  The registration fee for each Plan has been calculated in accordance with Rule 457(h) and Rule 457(c) promulgated under the Securities Act.&lt;/span&gt;&lt;/p&gt;&lt;div class="item-list-element-wrapper" style="margin-left:13.333%;display:flex;margin-top:9pt;justify-content:flex-start;align-items:baseline;margin-bottom:0;min-width:4.537%;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:5.234979865462056%;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;See Note 1. &lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</ffd:OfferingNote>
</xbrl>
