<?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="hubs-20260803.xsd" xlink:type="simple"/>
    <context id="C_8d389f10-faaf-463c-a6f3-ecda082e368c">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001404655</identifier>
        </entity>
        <period>
            <startDate>2026-08-03</startDate>
            <endDate>2026-08-03</endDate>
        </period>
    </context>
    <dei:AmendmentFlag
      contextRef="C_8d389f10-faaf-463c-a6f3-ecda082e368c"
      id="F_5adfa4b7-b365-4444-903a-3c7b7a0cd4e6">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="C_8d389f10-faaf-463c-a6f3-ecda082e368c"
      id="F_559e1571-25fc-435c-8f58-cc9a148b5beb">0001404655</dei:EntityCentralIndexKey>
    <dei:DocumentType
      contextRef="C_8d389f10-faaf-463c-a6f3-ecda082e368c"
      id="F_f0cb123f-20ba-4f0a-ae9f-5e43d7360c68">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="C_8d389f10-faaf-463c-a6f3-ecda082e368c"
      id="F_27e76da3-1aa7-4886-8f39-ddf96a6c9026">2026-08-03</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="C_8d389f10-faaf-463c-a6f3-ecda082e368c"
      id="F_6162e1f6-9abc-4150-8558-4edd2097aa34">HUBSPOT, INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="C_8d389f10-faaf-463c-a6f3-ecda082e368c"
      id="F_746ad6d5-b8b9-49cc-9724-ec89060d9995">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="C_8d389f10-faaf-463c-a6f3-ecda082e368c"
      id="F_ea7758ad-4358-4d16-974c-0c1144e7ea43">001-36680</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="C_8d389f10-faaf-463c-a6f3-ecda082e368c"
      id="F_42d85b70-a905-407b-a8b5-dbaff3a2ea89">20-2632791</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="C_8d389f10-faaf-463c-a6f3-ecda082e368c"
      id="F_3f6fadb2-3f7e-4457-b6a5-bff090fa727b">Two Canal Park</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="C_8d389f10-faaf-463c-a6f3-ecda082e368c"
      id="F_24ca08c0-3028-4971-90f1-7fd43aa0d237">Cambridge</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="C_8d389f10-faaf-463c-a6f3-ecda082e368c"
      id="F_cec220c4-0553-4ed8-8e8f-a2604d143784">MA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="C_8d389f10-faaf-463c-a6f3-ecda082e368c"
      id="F_256f1011-8428-4e1b-a0de-6ee5045373a4">02141</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="C_8d389f10-faaf-463c-a6f3-ecda082e368c"
      id="F_67ec8603-17d5-474e-8714-1cdf6fd8cee4">(888)</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="C_8d389f10-faaf-463c-a6f3-ecda082e368c"
      id="F_9d8a917a-b816-4077-9c24-f86529c32aed">482-7768</dei:LocalPhoneNumber>
    <dei:EntityInformationFormerLegalOrRegisteredName
      contextRef="C_8d389f10-faaf-463c-a6f3-ecda082e368c"
      id="F_9bac3666-9ea2-4315-bf42-6b3ace224117">Not Applicable</dei:EntityInformationFormerLegalOrRegisteredName>
    <dei:WrittenCommunications
      contextRef="C_8d389f10-faaf-463c-a6f3-ecda082e368c"
      id="F_93d6c584-6660-419e-9c3c-5a4a48ae1c38">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="C_8d389f10-faaf-463c-a6f3-ecda082e368c"
      id="F_6cd3d5eb-1e71-4491-aef1-2da7eca3b7a0">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="C_8d389f10-faaf-463c-a6f3-ecda082e368c"
      id="F_be6c1e58-2abf-4da4-ab57-31a2666c617b">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="C_8d389f10-faaf-463c-a6f3-ecda082e368c"
      id="F_fa786663-ba2c-4d33-889c-8859e2b8a955">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="C_8d389f10-faaf-463c-a6f3-ecda082e368c"
      id="F_29e72c82-c29e-4bc8-9582-777f69b5393a">Common Stock, Par Value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="C_8d389f10-faaf-463c-a6f3-ecda082e368c"
      id="F_d53550c0-281c-435e-9daa-269c364e1bf4">HUBS</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="C_8d389f10-faaf-463c-a6f3-ecda082e368c"
      id="F_a434a50d-479b-4ab1-b9d8-4cb95635321c">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="C_8d389f10-faaf-463c-a6f3-ecda082e368c"
      id="F_b1d4414b-1ef2-4709-9ac4-e99e256c1eaa">false</dei:EntityEmergingGrowthCompany>
</xbrl>
