<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2024"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="hubs-20250508.xsd" xlink:type="simple"/>
    <context id="C_6ae14296-82eb-49a2-a268-68d992b1c1ab">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001404655</identifier>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="C_6ae14296-82eb-49a2-a268-68d992b1c1ab"
      id="F_4796fb12-435c-4944-8c41-40d3e5e87cc5">0001404655</dei:EntityCentralIndexKey>
    <dei:DocumentType
      contextRef="C_6ae14296-82eb-49a2-a268-68d992b1c1ab"
      id="F_53cdab49-c422-4e0d-844d-66bf7b6ce670">DEFA14A</dei:DocumentType>
    <dei:AmendmentFlag
      contextRef="C_6ae14296-82eb-49a2-a268-68d992b1c1ab"
      id="F_df05acb3-7c9e-4401-b159-9ab8e3e716eb">true</dei:AmendmentFlag>
    <dei:EntityRegistrantName
      contextRef="C_6ae14296-82eb-49a2-a268-68d992b1c1ab"
      id="F_16a064cd-bcc0-474f-add4-749c64bc0a68">HUBSPOT, INC.</dei:EntityRegistrantName>
    <dei:AmendmentDescription
      contextRef="C_6ae14296-82eb-49a2-a268-68d992b1c1ab"
      id="F_7744d18c-a6ae-4ae4-90cb-0e769493cc58">Explanatory NoteThis proxy supplement, dated May 8, 2025 (this &#x201c;Supplement&#x201d;), supplements the definitive proxy statement of HubSpot, Inc. (the &#x201c;Company&#x201d;) dated April 24, 2025 (the &#x201c;Proxy Statement&#x201d;), for the Company&#x2019;s 2025 Annual Meeting of Stockholders to be held on June 4, 2025, at 9:00 am Eastern Time (the &#x201c;Annual Meeting&#x201d;).</dei:AmendmentDescription>
</xbrl>
