v3.25.4

Restructuring Plan - Additional Information (Detail) - USD ($) |  | 12 Months Ended
--- | --- | ---
Jan. 25, 2023 | Dec. 31, 2025 | Dec. 31, 2024 | Dec. 31, 2023
Restructuring Costs [Line Items] |  |  |  |
Employee reduction percentage | 7.00% |  |  |
Restructuring charges |  | $ 4,036,000 | $ 3,990,000 | $ 96,843,000
Liabilities accrued |  | $ 0 |  |
Severance, Employee Related Benefits And Other Costs [Member] |  |  |  |
Restructuring Costs [Line Items] |  |  |  |
Restructuring charges |  |  |  | 26,800,000
Stock-Based Compensation Expense [Member] |  |  |  |
Restructuring Costs [Line Items] |  |  |  |
Restructuring charges |  |  |  | 1,000,000
Facilities [Member] |  |  |  |
Restructuring Costs [Line Items] |  |  |  |
Restructuring charges |  |  |  | 70,000,000
Global Office Spaces Leases [Member] |  |  |  |
Restructuring Costs [Line Items] |  |  |  |
Reduction in right-of use assets |  |  |  | 46,800,000
Increase in operating lease liabilities |  |  |  | $ 5,900,000

X
- Definition Employee reduction percentage. + References No definition available. + Details
Name: | hubs_EmployeeReductionPercentage
Namespace Prefix: | hubs_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Increase (decrease) in operating lease right-of-use assets. + References No definition available. + Details
Name: | hubs_IncreaseDecreaseInOperatingLeaseRightOfUseAssets
Namespace Prefix: | hubs_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Restructuring Costs. + References No definition available. + Details
Name: | hubs_RestructuringCostsLineItems
Namespace Prefix: | hubs_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Carrying value as of the balance sheet date of obligations incurred and payable, pertaining to costs that are statutory in nature, are incurred on contractual obligations, or accumulate over time and for which invoices have not yet been received or will not be rendered. Examples include taxes, interest, rent and utilities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(15)(5)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 + Details
Name: | us-gaap_AccruedLiabilitiesCurrentAndNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of increase (decrease) in obligation for operating lease. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-28 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (g)(1) -SubTopic 20 -Topic 842 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478964/842-20-50-4 + Details
Name: | us-gaap_IncreaseDecreaseInOperatingLeaseLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of expenses associated with exit or disposal activities pursuant to an authorized plan. Excludes expenses related to a discontinued operation or an asset retirement obligation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (b) -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-28 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 55 -Paragraph 18 -Publisher FASB -URI https://asc.fasb.org/1943274/2147476153/220-40-55-18 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 5.P.4.b.1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479823/420-10-S99-2 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482047/420-10-45-3 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 5.P.3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479823/420-10-S99-1 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 21 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147476148/220-40-50-21 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147476148/220-40-50-6 + Details
Name: | us-gaap_RestructuringCharges
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_RestructuringCostAndReserveAxis=hubs_SeveranceEmployeeRelatedBenefitsAndOtherCostsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringCostAndReserveAxis=hubs_StockBasedCompensationExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringCostAndReserveAxis=hubs_FacilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringCostAndReserveAxis=hubs_GlobalOfficeSpacesLeasesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |