v3.25.4

Summary of Significant Accounting Policies (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2025
Accounting Policies [Abstract] |
Summary of Reconciliation of Denominator Used in Calculation of Basic and Diluted Income (Loss) Per Share | A reconciliation of the denominator used in the calculation of basic and diluted income (loss) per share is as follows:
|  | Year Ended December 31, |
|  | 2025 |  |  | 2024 |  |  | 2023 |
|  | (in thousands, except per share amounts) |
Net income (loss) |  | $ | 45,911 |  |  | $ | 4,628 |  |  | $ | (164,510 | )
Weighted-average common shares outstanding—basic |  |  | 52,455 |  |  |  | 51,178 |  |  |  | 49,877 |
Dilutive effect of share equivalents resulting from stock options, RSUs, ESPP, PSUs, and the Conversion Options |  |  | 739 |  |  |  | 641 |  |  |  | — |
Weighted-average common shares outstanding-diluted |  |  | 53,194 |  |  |  | 51,819 |  |  |  | 49,877 |
Net income (loss) per share, basic |  | $ | 0.88 |  |  | $ | 0.09 |  |  | $ | (3.30 | )
Net income (loss) per share, diluted |  | $ | 0.86 |  |  | $ | 0.09 |  |  | $ | (3.30 | )
Schedule of Potentially Dilutive Common Stock Equivalents | The weighted-average number of shares outstanding used in the computation of diluted net income (loss) per share does not include the effect of the following potentially outstanding common stock, as the effect would have been anti-dilutive:
Schedule of Roll Forward of Company's Allowance for Doubtful Accounts | The following is a roll-forward of the Company’s allowance for credit losses (in thousands):
|  | Balance Beginning of Period |  |  | Charged to Statement of Operations |  |  | Deductions (1) |  |  | Balance at End of Period |
Allowance for credit losses |  |  |  |  |  |  |  |  |  |  |  |
Year ended December 31, 2025 |  | $ | 6,088 |  |  | $ | 24,947 |  |  | $ | (24,210 | ) |  | $ | 6,825 |
Year ended December 31, 2024 |  | $ | 5,516 |  |  | $ | 19,862 |  |  | $ | (19,290 | ) |  | $ | 6,088 |
Year ended December 31, 2023 |  | $ | 3,266 |  |  | $ | 18,887 |  |  | $ | (16,637 | ) |  | $ | 5,516 |
(1) Deductions include actual accounts written-off, net of recoveries.
Summary of Reconciliation of Cash, Cash Equivalents and Restricted Cash | The following table provides a reconciliation of the cash, cash equivalents and restricted cash within the consolidated balance sheets that sum to the total of the same such amounts shown in the statement of cash flows for the year ended December 31, 2025 and 2024.
|  | December 31, 2025 |  |  | December 31, 2024 |  |
|  | (in thousands)
Cash and cash equivalents |  | $ | 882,242 |  |  | $ | 512,667 |  |
Restricted cash, included in prepaid expenses and other current assets and other assets |  |  | 2,703 |  |  |  | 4,053 |  |
Total cash, cash equivalents, and restricted cash |  | $ | 884,945 |  |  | $ | 516,720 |  |
Schedule of Property Plant and Equipment Useful Life | Depreciation is recorded over the following estimated useful lives:
|  | Estimated Useful Life
Employee related computer equipment |  | 2 - 3 years
Computer equipment and purchased software |  | 3 years
Furniture and fixtures |  | 5 years
Internal use software |  | 5 years
Leasehold improvements |  | Lesser of lease term or useful life
Summary of Capitalized Software Development Costs, Exclusive of those Costs Recorded within Property and Equipment | Capitalized software development costs, exclusive of those costs recorded within property and equipment, consisted of the following:
|  | December 31, 2025 |  |  | December 31, 2024 |
|  | (in thousands) |
Gross capitalized software development costs |  | $ | 537,849 |  |  | $ | 374,127 |
Accumulated amortization |  |  | (324,055 | ) |  |  | (219,643 | )
Capitalized software development costs, net |  | $ | 213,794 |  |  | $ | 154,484 |

X
- Definition Tabular disclosure of the expected useful lives of specific classes of property plant and equipment. + References No definition available. + Details
Name: | hubs_PropertyAndEquipmentExpectedUsefulLifeTableTextBlock
Namespace Prefix: | hubs_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of reconciliation of cash cash equivalents and restricted cash. + References No definition available. + Details
Name: | hubs_ScheduleOfCashAndCashEquivalentsRestrictedCashAndCashEquivalentsTableTextBlock
Namespace Prefix: | hubs_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of capitalized software and developments costs, including the gross balance incurred, accumulated amortization, and net value. + References No definition available. + Details
Name: | hubs_SummaryOfCapitalizedSoftwareDevelopmentCostsTableTextBlock
Namespace Prefix: | hubs_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Tabular disclosure of allowance for credit loss on financing receivable. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-13 + Details
Name: | us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would increase EPS amounts or decrease loss per share amounts for the period presented, by antidilutive securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482662/260-10-50-1 + Details
Name: | us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 260 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482662/260-10-50-1 + Details
Name: | us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration