<?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-20260921.xsd" xlink:type="simple"/>
    <context id="Duration_9_21_2026_To_9_21_2026_D-8k6RaRaEGLkW25F70qRw">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001661059</identifier>
        </entity>
        <period>
            <startDate>2026-09-21</startDate>
            <endDate>2026-09-21</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_9_21_2026_To_9_21_2026_D-8k6RaRaEGLkW25F70qRw"
      id="Tc_Jw1rR9BmmkGGtuQNad97VA_2_1">0001661059</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_9_21_2026_To_9_21_2026_D-8k6RaRaEGLkW25F70qRw"
      id="Tc_7HkisJHWg0Cve3R-6pFERg_3_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_9_21_2026_To_9_21_2026_D-8k6RaRaEGLkW25F70qRw"
      id="Narr_NRauhR-oK0KUhbCM79McWQ">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_9_21_2026_To_9_21_2026_D-8k6RaRaEGLkW25F70qRw"
      id="Narr_LEy-mXptskCWV4EbSFETEw">2026-09-21</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_9_21_2026_To_9_21_2026_D-8k6RaRaEGLkW25F70qRw"
      id="Narr_C-e92YrxfEirEPJqL2TPhA">NextCure, Inc.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_9_21_2026_To_9_21_2026_D-8k6RaRaEGLkW25F70qRw"
      id="Narr_GLu80BvSnE-PCgDRUNVMuw">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_9_21_2026_To_9_21_2026_D-8k6RaRaEGLkW25F70qRw"
      id="Narr_m06dNVOnCUqpQDcaCqDHQQ">001-38905</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_9_21_2026_To_9_21_2026_D-8k6RaRaEGLkW25F70qRw"
      id="Narr_LWYKhUU6ckWGFzVe6sEJmg">47-5231247</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_9_21_2026_To_9_21_2026_D-8k6RaRaEGLkW25F70qRw"
      id="Narr_ikNT92eLUkyyqlCA-PfT4g">2850 Quarry Lake Drive, </dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="Duration_9_21_2026_To_9_21_2026_D-8k6RaRaEGLkW25F70qRw"
      id="Narr_OkZhdhaxnU-gSE9u558m7w">Suite 280</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_9_21_2026_To_9_21_2026_D-8k6RaRaEGLkW25F70qRw"
      id="Narr_7YcDrDbDbEenLl5fmMjo7w">Baltimore</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_9_21_2026_To_9_21_2026_D-8k6RaRaEGLkW25F70qRw"
      id="Narr_OHOVPqw6NE2Lv9YFpPLFlQ">MD</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_9_21_2026_To_9_21_2026_D-8k6RaRaEGLkW25F70qRw"
      id="Tc_QAhIQA9ycUSlD_vrZlUXGw_1_2">21209</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_9_21_2026_To_9_21_2026_D-8k6RaRaEGLkW25F70qRw"
      id="Narr_vm1RwpTnk0asGwuWHvJ2LQ">240</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_9_21_2026_To_9_21_2026_D-8k6RaRaEGLkW25F70qRw"
      id="Narr_4OuEbJCpFk6JNtE1js2N8w">399-4900</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_9_21_2026_To_9_21_2026_D-8k6RaRaEGLkW25F70qRw"
      id="Narr_46g3ovYw0ECgqvPxrWX8cw">true</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_9_21_2026_To_9_21_2026_D-8k6RaRaEGLkW25F70qRw"
      id="Narr_NbWehHMVvkiQGVD8paw0iA">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_9_21_2026_To_9_21_2026_D-8k6RaRaEGLkW25F70qRw"
      id="Narr_itWYNR2cLEqUdwv05yX9Mg">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_9_21_2026_To_9_21_2026_D-8k6RaRaEGLkW25F70qRw"
      id="Narr_CtIn3BeoJk-JznQYXEPclw">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_9_21_2026_To_9_21_2026_D-8k6RaRaEGLkW25F70qRw"
      id="Tc_ya-J2r2tvk6DNQV1D9yrKg_3_0">Common Stock, $0.001 par value per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_9_21_2026_To_9_21_2026_D-8k6RaRaEGLkW25F70qRw"
      id="Tc_HSg5RsXJxEufgju3ZB2nNA_3_1">NXTC</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_9_21_2026_To_9_21_2026_D-8k6RaRaEGLkW25F70qRw"
      id="Tc_Ejv_azIgY0uCl-w5WcfiBg_3_2">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_9_21_2026_To_9_21_2026_D-8k6RaRaEGLkW25F70qRw"
      id="Narr_Ei15oV4teU2WUajjDo8P7g">false</dei:EntityEmergingGrowthCompany>
</xbrl>
