<?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="hubs-20260327.xsd" xlink:type="simple"/>
    <context id="C_bc7fc0e9-f860-436a-a490-0a4bc74c1185">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001404655</identifier>
        </entity>
        <period>
            <startDate>2026-03-27</startDate>
            <endDate>2026-03-27</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="C_bc7fc0e9-f860-436a-a490-0a4bc74c1185"
      id="F_68886aac-83af-4723-8506-333ed2604792">0001404655</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="C_bc7fc0e9-f860-436a-a490-0a4bc74c1185"
      id="F_aef9f656-7154-4832-9501-d4b198009f32">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="C_bc7fc0e9-f860-436a-a490-0a4bc74c1185"
      id="F_6ce98b86-44ca-437b-9a09-a821fa9c7951">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="C_bc7fc0e9-f860-436a-a490-0a4bc74c1185"
      id="F_d9ea0c8d-bdf9-48b6-8a5e-b3bc9fbd61f3">2026-03-27</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="C_bc7fc0e9-f860-436a-a490-0a4bc74c1185"
      id="F_1677b5f0-14b5-4dff-a99f-f15204b59821">HubSpot, Inc.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="C_bc7fc0e9-f860-436a-a490-0a4bc74c1185"
      id="F_50e7e27e-6fac-49a1-9f39-f8488c11bdb2">MA</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="C_bc7fc0e9-f860-436a-a490-0a4bc74c1185"
      id="F_a40d3c4f-f637-4aa2-8347-b61164bd35e6">001-36680</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="C_bc7fc0e9-f860-436a-a490-0a4bc74c1185"
      id="F_0c4df27d-ddb8-4cf4-a5dd-4cdcc1561b38">20-2632791</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="C_bc7fc0e9-f860-436a-a490-0a4bc74c1185"
      id="F_502f918c-cb23-45b8-afc9-57a04b2e5ae2">Two Canal Park</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="C_bc7fc0e9-f860-436a-a490-0a4bc74c1185"
      id="F_c01129d2-b313-439a-9d61-c25c96783317">Cambridge</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="C_bc7fc0e9-f860-436a-a490-0a4bc74c1185"
      id="F_dab929f6-c3dc-4f4b-aa0f-b6076ccd0caa">MA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="C_bc7fc0e9-f860-436a-a490-0a4bc74c1185"
      id="F_288c806c-5034-4b0a-88e7-b62a2f8c0230">02141</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="C_bc7fc0e9-f860-436a-a490-0a4bc74c1185"
      id="F_f0524085-d2c2-4a4f-8ad7-c630041548ff">(888)</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="C_bc7fc0e9-f860-436a-a490-0a4bc74c1185"
      id="F_8a852bf3-c78e-44ff-8bf4-bc651503bbf5">482-7768</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="C_bc7fc0e9-f860-436a-a490-0a4bc74c1185"
      id="F_0b174856-b80f-420c-ab8c-c350ae029974">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="C_bc7fc0e9-f860-436a-a490-0a4bc74c1185"
      id="F_9574ecc7-6647-48fb-9d41-7635118d0205">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="C_bc7fc0e9-f860-436a-a490-0a4bc74c1185"
      id="F_1f746015-701d-4acd-8e6c-913edbcb2b7a">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="C_bc7fc0e9-f860-436a-a490-0a4bc74c1185"
      id="F_df15594e-2754-4630-adcf-ecbaa0a47d25">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="C_bc7fc0e9-f860-436a-a490-0a4bc74c1185"
      id="F_8993cb7e-d6cc-43c2-8814-bd4005dedc50">Common Stock, Par Value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="C_bc7fc0e9-f860-436a-a490-0a4bc74c1185"
      id="F_89a6f461-df63-4e21-9b00-831868c41065">HUBS</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="C_bc7fc0e9-f860-436a-a490-0a4bc74c1185"
      id="F_590610ad-cb62-46f5-ab2a-f855b315bc0a">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="C_bc7fc0e9-f860-436a-a490-0a4bc74c1185"
      id="F_574ae010-cb2c-48be-8a27-d4d1cfceecd4">false</dei:EntityEmergingGrowthCompany>
</xbrl>
