<?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="htfl-20260616.xsd" xlink:type="simple"/>
    <context id="Duration_6_16_2026_To_6_16_2026">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001464521</identifier>
        </entity>
        <period>
            <startDate>2026-06-16</startDate>
            <endDate>2026-06-16</endDate>
        </period>
    </context>
    <dei:AmendmentFlag
      contextRef="Duration_6_16_2026_To_6_16_2026"
      id="ct-nonNumeric-1704e0b4-4b8c-4309-809b-8d0d6ab63dda">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="Duration_6_16_2026_To_6_16_2026"
      id="ct-nonNumeric-791123b7-1789-4c10-8e76-de5fe6cb8017">0001464521</dei:EntityCentralIndexKey>
    <dei:DocumentType
      contextRef="Duration_6_16_2026_To_6_16_2026"
      id="ct-nonNumeric-4a8c1743-a97a-4a74-8487-6e2a44555a28">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_6_16_2026_To_6_16_2026"
      id="ct-nonNumeric-77d7f926-f72e-4554-a740-b431e377ac57">2026-06-16</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_6_16_2026_To_6_16_2026"
      id="ct-nonNumeric-dc1b5445-da18-40ba-b136-2848541c0740">Heartflow, Inc.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_6_16_2026_To_6_16_2026"
      id="ct-nonNumeric-f148847d-d330-4830-89fc-dc780a2363ad">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_6_16_2026_To_6_16_2026"
      id="ct-nonNumeric-78d3953b-221c-4ff5-996a-e0c6eba70f92">001-42790</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_6_16_2026_To_6_16_2026"
      id="ct-nonNumeric-df9167cb-96a9-4ca8-a9a4-004d8776c5aa">26-0506743</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_6_16_2026_To_6_16_2026"
      id="ct-nonNumeric-a0687ef6-752b-491a-99dd-0d86c757babe">135 Main Street, Suite 1000</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_6_16_2026_To_6_16_2026"
      id="ct-nonNumeric-8742accc-5273-4e33-8935-1980797c1944">San Francisco</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_6_16_2026_To_6_16_2026"
      id="ct-nonNumeric-547ce85f-05cc-4f84-b050-2c3c75495006">CA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_6_16_2026_To_6_16_2026"
      id="ct-nonNumeric-ded7433f-9afa-490a-a54a-9ffffa0a328d">94105</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_6_16_2026_To_6_16_2026"
      id="ct-nonNumeric-bf974eb8-56d6-47c2-95e0-50ba0c48e54c">650</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_6_16_2026_To_6_16_2026"
      id="ct-nonNumeric-52d5c100-fe90-4ad6-b84a-f7e72adb9638">241-1221</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_6_16_2026_To_6_16_2026"
      id="ct-nonNumeric-ab46c8da-ecf0-43e4-91eb-e50f6e166d98">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_6_16_2026_To_6_16_2026"
      id="ct-nonNumeric-540ddad7-6140-427a-a41c-f802ba3b7653">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_6_16_2026_To_6_16_2026"
      id="ct-nonNumeric-9a2e0cc0-23fc-46e6-b84c-77be0ff831ab">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_6_16_2026_To_6_16_2026"
      id="ct-nonNumeric-a95f82e0-768a-4697-b11e-2060a06c6e59">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_6_16_2026_To_6_16_2026"
      id="ct-nonNumeric-dfe76462-fbc8-46be-8322-a1b4eaa09129">Common Stock, $0.001 par value per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_6_16_2026_To_6_16_2026"
      id="ct-nonNumeric-214d71e4-ecec-4ccc-b0bd-2a1b443686f2">HTFL</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_6_16_2026_To_6_16_2026"
      id="ct-nonNumeric-b3388623-6754-4e8d-95d2-f190ca3eb42e">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_6_16_2026_To_6_16_2026"
      id="ct-nonNumeric-02d10967-8b7d-4c20-b766-1f8c12f3096f">true</dei:EntityEmergingGrowthCompany>
    <dei:EntityExTransitionPeriod
      contextRef="Duration_6_16_2026_To_6_16_2026"
      id="ct-nonNumeric-516e07c3-db7b-44e8-a29f-0441e30860e9">false</dei:EntityExTransitionPeriod>
</xbrl>
