v3.25.4

Income Taxes - Additional Information (Detail) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2025 | Dec. 31, 2024 | Dec. 31, 2023
Reconciliation Of Income Taxes [Line Items] |  |  |
Federal statutory income tax rate | (21.00%) | (21.00%) | (21.00%)
Increase in valuation allowance | $ 56,500 | $ 101,300 | $ 127,500
Federal net operating loss carryforwards | 1,100,000 | 640,000 |
State net operating loss carryforward | 866,100 | 723,700 |
International net operating loss carryforwards | 700 | 900 |
Research and development tax credits, net of UTP | $ 224,226 | $ 181,411 |
Minimum percentage chances of tax benefit to be realized on examination | 50.00% |  |
Federal [Member] |  |  |
Reconciliation Of Income Taxes [Line Items] |  |  |
Research and development tax credits, net of UTP | $ 198,000 |  |
Research and development tax credit carryforwards, begin to expiration year | 2034 |  |
State [Member] |  |  |
Reconciliation Of Income Taxes [Line Items] |  |  |
Net operating loss carryforwards, begin to expiration year | 2027 |  |
Research and development tax credits, net of UTP | $ 91,500 |  |
Research and development tax credit carryforwards, begin to expiration year | 2026 |  |

X
- Definition Minimum tax benefit likely of being realized upon ultimate settlement with tax authority percentage. + References No definition available. + Details
Name: | hubs_MinimumTaxBenefitLikelyOfBeingRealizedUponUltimateSettlementWithTaxAuthorityPercentage
Namespace Prefix: | hubs_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Operating loss carryforwards begin to expiration year. + References No definition available. + Details
Name: | hubs_OperatingLossCarryforwardsBeginToExpirationYear
Namespace Prefix: | hubs_
Data Type: | xbrli:gYearItemType
Balance Type: | na
Period Type: | duration

X
- Definition Reconciliation Of Income Taxes [Line Items] + References No definition available. + Details
Name: | hubs_ReconciliationOfIncomeTaxesLineItems
Namespace Prefix: | hubs_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tax credit carryforward begin to expiration year. + References No definition available. + Details
Name: | hubs_TaxCreditCarryforwardBeginToExpirationYear
Namespace Prefix: | hubs_
Data Type: | xbrli:gYearItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible domestic operating loss carryforwards. Excludes state and local operating loss carryforwards. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-6 + Details
Name: | us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsDomestic
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible foreign operating loss carryforwards. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-6 + Details
Name: | us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsForeign
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible state and local operating loss carryforwards. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-6 + Details
Name: | us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsStateAndLocal
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible research tax credit carryforwards. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-6 + Details
Name: | us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsResearch
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Percentage of domestic federal statutory tax rate applicable to pretax income (loss). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480738/235-10-S50-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-12 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 231 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482663/740-10-55-231 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 6.I.1.Q1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479360/740-10-S99-1 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(h)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 + Details
Name: | us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of increase (decrease) in the valuation allowance for a specified deferred tax asset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-2 + Details
Name: | us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=us-gaap_DomesticCountryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=us-gaap_StateAndLocalJurisdictionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |