<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="nxtc-20261026.xsd" xlink:type="simple"/>
    <context id="Duration_10_26_2026_To_10_26_2026_zv5RHKeJ9EG4G7xLd6R_Xw">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001661059</identifier>
        </entity>
        <period>
            <startDate>2026-10-26</startDate>
            <endDate>2026-10-26</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_10_26_2026_To_10_26_2026_zv5RHKeJ9EG4G7xLd6R_Xw"
      id="Tc_q_IQBSYA5U-Whce1eisrpA_2_1">0001661059</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_10_26_2026_To_10_26_2026_zv5RHKeJ9EG4G7xLd6R_Xw"
      id="Tc_Wvd2eNPRQ0i_hAWv0Pf3ww_3_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_10_26_2026_To_10_26_2026_zv5RHKeJ9EG4G7xLd6R_Xw"
      id="Narr_17sOeHlgIECyt4bP_nVi_Q">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_10_26_2026_To_10_26_2026_zv5RHKeJ9EG4G7xLd6R_Xw"
      id="Narr_XRC0E9YaMU6YLmRmujee-Q">2026-10-26</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_10_26_2026_To_10_26_2026_zv5RHKeJ9EG4G7xLd6R_Xw"
      id="Narr_j1f_rNxbQ0S6b6ujbkxp2g">NextCure, Inc.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_10_26_2026_To_10_26_2026_zv5RHKeJ9EG4G7xLd6R_Xw"
      id="Narr_AqOcEhAHgkqcsWGWTMp2sQ">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_10_26_2026_To_10_26_2026_zv5RHKeJ9EG4G7xLd6R_Xw"
      id="Narr_rGtRF7J5eEapm-RUP1UQuQ">001-38905</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_10_26_2026_To_10_26_2026_zv5RHKeJ9EG4G7xLd6R_Xw"
      id="Narr_twQQ0CqvTkCJhEvJb_jeYQ">47-5231247</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_10_26_2026_To_10_26_2026_zv5RHKeJ9EG4G7xLd6R_Xw"
      id="Narr_Oyz0Ad-PgkeMPF4LQbh89g">2850 Quarry Lake Drive, </dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="Duration_10_26_2026_To_10_26_2026_zv5RHKeJ9EG4G7xLd6R_Xw"
      id="Narr_gbCNwBXMWUu_U2G_Q4gOUA">Suite 280</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_10_26_2026_To_10_26_2026_zv5RHKeJ9EG4G7xLd6R_Xw"
      id="Narr_Jm-JLXyz_UegG6hrHam57g">Baltimore</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_10_26_2026_To_10_26_2026_zv5RHKeJ9EG4G7xLd6R_Xw"
      id="Narr_EdgO6BqDQEexshu1Pidkuw">MD</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_10_26_2026_To_10_26_2026_zv5RHKeJ9EG4G7xLd6R_Xw"
      id="Tc_qhxldlCoF0-54kKiZUkQMA_1_2">21209</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_10_26_2026_To_10_26_2026_zv5RHKeJ9EG4G7xLd6R_Xw"
      id="Narr_rvv9od0SD0W5NCUG1ZdWbA">240</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_10_26_2026_To_10_26_2026_zv5RHKeJ9EG4G7xLd6R_Xw"
      id="Narr__KbIC1o-G0ephoO52lGPyw">399-4900</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_10_26_2026_To_10_26_2026_zv5RHKeJ9EG4G7xLd6R_Xw"
      id="Narr_n0faKxiR_EqXkUPOFV3OUA">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_10_26_2026_To_10_26_2026_zv5RHKeJ9EG4G7xLd6R_Xw"
      id="Narr_KnzW4wJljU6g7edAH34scw">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_10_26_2026_To_10_26_2026_zv5RHKeJ9EG4G7xLd6R_Xw"
      id="Narr_AjKd5BOYH0-QcGIAVbr81w">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_10_26_2026_To_10_26_2026_zv5RHKeJ9EG4G7xLd6R_Xw"
      id="Narr_4E_YnnM5xEaAkP2-Aqm3nQ">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_10_26_2026_To_10_26_2026_zv5RHKeJ9EG4G7xLd6R_Xw"
      id="Tc_K8fovH3zHEu532wMKOiR3g_3_0">Common Stock, $0.001 par value per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_10_26_2026_To_10_26_2026_zv5RHKeJ9EG4G7xLd6R_Xw"
      id="Tc_PvYRKr0i902qPU7x4-6hAg_3_1">NXTC</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_10_26_2026_To_10_26_2026_zv5RHKeJ9EG4G7xLd6R_Xw"
      id="Tc_dE1g2kNDjkW68mZDeDb7PA_3_2">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_10_26_2026_To_10_26_2026_zv5RHKeJ9EG4G7xLd6R_Xw"
      id="Narr_LbghkznlK0Gq3pR5ehnhGw">false</dei:EntityEmergingGrowthCompany>
</xbrl>
