XML 80 R71.htm IDEA: XBRL DOCUMENT
v3.23.1

Restructuring Plan - Additional Information (Details) - USD ($) $ in Thousands |  | 3 Months Ended
--- | --- | ---
Jan. 25, 2023 | Mar. 31, 2023
Restructuring Costs [Line Items] |  |
Employee reduction percentage | 7.00% |
Restructuring charges |  | $ 28,570
Restructuring and related activities completion year | 2023 |
Severance, Employee Related Benefits And Other Costs [Member] |  |
Restructuring Costs [Line Items] |  |
Restructuring charges |  | 26,800
Stock-Based Compensation Expense [Member] |  |
Restructuring Costs [Line Items] |  |
Restructuring charges |  | 1,000
Facilities [Member] |  |
Restructuring Costs [Line Items] |  |
Restructuring charges |  | $ 1,800
Global Lease Consolidation [Member] | Maximum [Member] |  |
Restructuring Costs [Line Items] |  |
Restructuring charges | $ 69,000 |
Global Lease Consolidation [Member] | Minimum [Member] |  |
Restructuring Costs [Line Items] |  |
Restructuring charges | $ 62,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 Restructuring And Related Activities Completion Year. + References No definition available. + Details
Name: | hubs_RestructuringAndRelatedActivitiesCompletionYear
Namespace Prefix: | hubs_
Data Type: | xbrli:gYearItemType
Balance Type: | na
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 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://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section 45 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=109237686&loc=d3e17752-110868 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 5.P.3) -URI https://asc.fasb.org/extlink&oid=115931487&loc=d3e140864-122747 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 5.P.4(b)(1)) -URI https://asc.fasb.org/extlink&oid=115931487&loc=d3e140904-122747 + 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_GlobalLeaseConsolidationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |