<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="nxtc-20260601.xsd" xlink:type="simple"/>
    <context id="Duration_6_1_2026_To_6_1_2026_B9HlQZSMk0yLWu4v3nkt1w">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001661059</identifier>
        </entity>
        <period>
            <startDate>2026-06-01</startDate>
            <endDate>2026-06-01</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_6_1_2026_To_6_1_2026_B9HlQZSMk0yLWu4v3nkt1w"
      id="Tc__U4bsv8zRkqG52x9v-YlkQ_2_1">0001661059</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_6_1_2026_To_6_1_2026_B9HlQZSMk0yLWu4v3nkt1w"
      id="Tc_fpbNYDiuX0yzIlx6LkCb2w_3_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_6_1_2026_To_6_1_2026_B9HlQZSMk0yLWu4v3nkt1w"
      id="Narr_iGP1LRBW6k-phOlxcf_vJA">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_6_1_2026_To_6_1_2026_B9HlQZSMk0yLWu4v3nkt1w"
      id="Narr_xvG2ZvTS0EekxVqC216QrA">2026-06-01</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_6_1_2026_To_6_1_2026_B9HlQZSMk0yLWu4v3nkt1w"
      id="Narr_75v6vZ-hI0KSiLJdb3yLmw">NextCure, Inc.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_6_1_2026_To_6_1_2026_B9HlQZSMk0yLWu4v3nkt1w"
      id="Narr_1I0BzJPTHUCWP1nxs5KswA">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_6_1_2026_To_6_1_2026_B9HlQZSMk0yLWu4v3nkt1w"
      id="Narr_mb_-oeIPsEWpwaCXkbuHFQ">001-38905</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_6_1_2026_To_6_1_2026_B9HlQZSMk0yLWu4v3nkt1w"
      id="Narr_n89PMO5FU0uldmtvbKEFoA">47-5231247</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_6_1_2026_To_6_1_2026_B9HlQZSMk0yLWu4v3nkt1w"
      id="Narr_J4mfJ0guAUy656SSddG0UQ">9000 Virginia Manor Road</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="Duration_6_1_2026_To_6_1_2026_B9HlQZSMk0yLWu4v3nkt1w"
      id="Narr_yWfirUxNwkCEV7XuUTasbA">Suite 200</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_6_1_2026_To_6_1_2026_B9HlQZSMk0yLWu4v3nkt1w"
      id="Narr_ZN5lZHcYMEOBG2OCnUrreg">Beltsville</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_6_1_2026_To_6_1_2026_B9HlQZSMk0yLWu4v3nkt1w"
      id="Narr_G44wvSuZZEqWkiFPoLPS1Q">MD</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_6_1_2026_To_6_1_2026_B9HlQZSMk0yLWu4v3nkt1w"
      id="Tc_vkD9KtyfokuZCbgR2iswbA_1_2">20705</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_6_1_2026_To_6_1_2026_B9HlQZSMk0yLWu4v3nkt1w"
      id="Narr_MvLXI-PNMEK0Kpo5B6-FIg">240</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_6_1_2026_To_6_1_2026_B9HlQZSMk0yLWu4v3nkt1w"
      id="Narr_4XxqfNw3KE-BxNXj98GlDg">399-4900</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_6_1_2026_To_6_1_2026_B9HlQZSMk0yLWu4v3nkt1w"
      id="Narr_dV0llP7A106cNfjn4rfh5w">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_6_1_2026_To_6_1_2026_B9HlQZSMk0yLWu4v3nkt1w"
      id="Narr_fH0jdqmzNEehn6cC1SjKvw">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_6_1_2026_To_6_1_2026_B9HlQZSMk0yLWu4v3nkt1w"
      id="Narr_-3fhW7Rqp02Vy8oqmK5GUQ">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_6_1_2026_To_6_1_2026_B9HlQZSMk0yLWu4v3nkt1w"
      id="Narr_xYVEGLC46Ey_nZgPmMZLSA">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_6_1_2026_To_6_1_2026_B9HlQZSMk0yLWu4v3nkt1w"
      id="Tc_V7zk-NKVMUa_banE7mcZ0Q_3_0">Common Stock, $0.001 par value per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_6_1_2026_To_6_1_2026_B9HlQZSMk0yLWu4v3nkt1w"
      id="Tc_rhTp7vAem0GtswxP1HY5Wg_3_1">NXTC</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_6_1_2026_To_6_1_2026_B9HlQZSMk0yLWu4v3nkt1w"
      id="Tc_TITFIZLY9k2BvVLqQS3GYA_3_2">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_6_1_2026_To_6_1_2026_B9HlQZSMk0yLWu4v3nkt1w"
      id="Narr_fk0bPeL7VESLXSD_7nRXfA">false</dei:EntityEmergingGrowthCompany>
</xbrl>
