v3.25.4

Investments (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2025
Investments, Debt and Equity Securities [Abstract] |
Summary of Composition of Short and Long Term Investments | The following tables summarize the composition of our short- and long-term investments at December 31, 2025 and 2024:
|  | December 31, 2025 |
|  | Amortized Cost |  |  | Unrealized Gains |  |  | Unrealized Losses |  |  | Aggregate Fair Value |
|  | (in thousands) |
Corporate bonds |  | $ | 252,863 |  |  | $ | 903 |  |  | $ | (1 | ) |  | $ | 253,765 |
U.S. Government agency securities |  |  | 45,649 |  |  |  | 64 |  |  |  | (3 | ) |  |  | 45,710 |
U.S. Treasury securities |  |  | 658,387 |  |  |  | 352 |  |  |  | — |  |  |  | 658,739 |
Total |  | $ | 956,899 |  |  | $ | 1,319 |  |  | $ | (4 | ) |  | $ | 958,214 |
|  | December 31, 2024 |
|  | Amortized Cost |  |  | Unrealized Gains |  |  | Unrealized Losses |  |  | Aggregate Fair Value |
|  | (in thousands) |
Commercial paper |  | $ | 4,941 |  |  | $ | — |  |  | $ | — |  |  | $ | 4,941 |
Corporate bonds |  |  | 284,337 |  |  |  | 533 |  |  |  | (295 | ) |  |  | 284,575 |
U.S. Government agency securities |  |  | 117,158 |  |  |  | 260 |  |  |  | (49 | ) |  |  | 117,369 |
U.S. Treasury securities |  |  | 1,303,384 |  |  |  | 780 |  |  |  | (9 | ) |  |  | 1,304,155 |
Total |  | $ | 1,709,820 |  |  | $ | 1,573 |  |  | $ | (353 | ) |  | $ | 1,711,040 |
Summary of Contractual Maturities of Short-Term and Long-Term Investments Held | The contractual maturities of short-term and long-term investments held as follows:
|  | December 31, 2025 |  |  | December 31, 2024 |
|  | Amortized Cost Basis |  |  | Aggregate Fair Value |  |  | Amortized Cost Basis |  |  | Aggregate Fair Value |
|  | ( in thousands) |
Due within one year |  | $ | 820,831 |  |  | $ | 821,552 |  |  | $ | 1,555,656 |  |  | $ | 1,556,828 |
Due after 1 year and within 2 years |  |  | 136,068 |  |  |  | 136,662 |  |  |  | 154,164 |  |  |  | 154,212 |
Total |  | $ | 956,899 |  |  | $ | 958,214 |  |  | $ | 1,709,820 |  |  | $ | 1,711,040 |
Summary of Carrying Values Strategic Investments | The carrying values of Company’s strategic investments broken down by category are as follows:
|  | Year ended December 31, |
|  | 2025 |  |  | 2024 |
|  | (in thousands) |
Measurement alternative method |  | $ | 89,737 |  |  | $ | 72,456 |
Fair value |  |  | 19,076 |  |  |  | 9,409 |
Equity method |  |  | 14,251 |  |  |  | 11,678 |
Total carrying value |  | $ | 123,064 |  |  | $ | 93,543 |
Summary of Activity Associated with Strategic Investments Other Income (Expense) | The following table summarizes the activity associated with the Company’s strategic investments, which is reported on the Company’s consolidated statement of operations as other (expense) income:
|  | Year ended December 31, |
|  | 2025 |  |  | 2024 |  |  | 2023 |
|  | (in thousands) |
Strategic investments: |  |  |  |  |  |  |  |  |
Gains |  | $ | 5,500 |  |  | $ | 21,245 |  |  | $ | — |
Impairments |  |  | (5,923 | ) |  |  | (5,306 | ) |  |  | (1,704 | )
Total included in other income (expense) |  | $ | (423 | ) |  | $ | 15,939 |  |  | $ | (1,704 | )

X
- Definition Schedule of carrying values strategic investments. + References No definition available. + Details
Name: | hubs_ScheduleOfCarryingValuesStrategicInvestmentsTableTextBlock
Namespace Prefix: | hubs_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Summary of activity associated with strategic investments other income (expense). + References No definition available. + Details
Name: | hubs_SummaryOfActivityAssociatedWithStrategicInvestmentsOtherIncomeExpenseTextBlock
Namespace Prefix: | hubs_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 9 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-9 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-3 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 Reference 5: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 Reference 6: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (aa) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 Reference 7: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (aaa) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 Reference 8: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 Reference 9: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-3 Reference 10: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-3 Reference 11: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-3 Reference 12: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-3 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of maturities of an entity's investments as well as any other information pertinent to the investments. + References No definition available. + Details
Name: | us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration