XML 81 R72.htm IDEA: XBRL DOCUMENT
v3.23.3

Stock-Based Compensation Expense - Effect of Stock-Based Compensation on Income by Line Item (Detail) - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended
--- | --- | ---
Sep. 30, 2023 | Sep. 30, 2022 | Sep. 30, 2023 | Sep. 30, 2022
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items] |  |  |  |
Total stock-based compensation expense | $ 107,506 | $ 72,213 | $ 318,545 | $ 199,081
Cost of Revenue, Subscription [Member] |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items] |  |  |  |
Total stock-based compensation expense | 3,157 | 2,311 | 9,110 | 6,516
Cost of Revenue, Professional Services and Other [Member] |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items] |  |  |  |
Total stock-based compensation expense | 1,201 | 1,168 | 3,748 | 3,251
Research and Development [Member] |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items] |  |  |  |
Total stock-based compensation expense | 49,460 | 28,585 | 146,845 | 77,269
Sales and Marketing [Member] |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items] |  |  |  |
Total stock-based compensation expense | 34,439 | 28,060 | 103,233 | 77,113
General and Administrative [Member] |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items] |  |  |  |
Total stock-based compensation expense | $ 19,249 | $ 12,089 | $ 55,609 | $ 34,932

X
- Definition Amount of expense for award under share-based payment arrangement. Excludes amount capitalized. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 14.F) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479830/718-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (h)(1)(i) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_AllocatedShareBasedCompensationExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=hubs_CostOfSubscriptionRevenuesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=hubs_CostOfRevenueProfessionalServicesAndOtherMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_ResearchAndDevelopmentExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_SellingAndMarketingExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_GeneralAndAdministrativeExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |