XML 50 R36.htm IDEA: XBRL DOCUMENT v3.24.0.1
Income Taxes (Tables)
12 Months Ended
Dec. 31, 2023
Income Tax Disclosure [Abstract]  
Schedule of Loss Before Income Taxes
The components of the Company's loss before income taxes for the years ended December 31, 2023, 2022, and 2021 were as follows:
Year Ended December 31,
202320222021
(in thousands)
Domestic$(210,547)$(219,586)$(272,995)
Foreign32,685 28,853 25,019 
Total loss before income taxes$(177,862)$(190,733)$(247,976)
Schedule of Provision for (Benefit From) Income Taxes
The components of the Company's provision for (benefit from) income taxes for the years ended December 31, 2023, 2022, and 2021 were as follows:
Year Ended December 31,
202320222021
(in thousands)
Current expense:
Federal$513 $332 $722 
State324 143 
Foreign2,986 2,455 2,730 
Total current provision for income taxes$3,823 $2,788 $3,595 
Deferred expense (benefit):
Federal— (1,124)— 
State— (573)— 
Foreign2,264 1,557 8,738 
Total deferred provision for (benefit from) income taxes$2,264 $(140)$8,738 
Total provision for income taxes
$6,087 $2,648 $12,333 
Schedule of Reconciliation of U.S. Federal Statutory Rate to Effective Tax Rate
A reconciliation of the U.S. federal statutory rate to the Company's effective tax rate is as follows:
Year Ended December 31,
202320222021
Expected benefit at U.S. federal statutory rate21.0 %21.0 %21.0 %
State income taxes, net of federal tax benefits(0.1)0.2 — 
Foreign income or losses taxed at different rates1.0 1.1 (2.5)
Stock-based compensation12.4 18.7 43.6 
Change in valuation allowance(30.6)(41.2)(66.4)
Withholding taxes(0.3)(0.2)(0.3)
Gain/loss on convertible senior notes
(5.1)— (0.4)
Miscellaneous permanent items(1.7)(1.0)— 
Total provision for income taxes
(3.4)%(1.4)%(5.0)%
Schedule of Deferred Tax Assets and Liabilities
The components of the Company's deferred tax assets and liabilities as of December 31, 2023 and 2022 were as follows:
Year Ended December 31,
20232022
(in thousands)
Deferred tax assets:
Net operating loss carryforwards$390,405 $373,655 
Tax credit carryforwards65,390 51,925 
Capitalized research and development expenditures71,617 36,886 
Operating lease liabilities36,609 33,790 
Business interest carryforwards1,244 15,762 
Stock-based compensation35,786 27,766 
Accrued expenses and reserves4,650 2,770 
Capitalized contract expenditures32,425 — 
Depreciation and amortization129 
Other2,106 919 
Gross deferred tax assets640,361 543,476 
Valuation allowance(552,165)(477,638)
Total deferred tax assets$88,196 $65,838 
Deferred tax liabilities:
Right-of-use assets(33,337)(31,586)
Deferred commissions(32,807)(23,039)
Capitalized internal-use software(3,909)(4,638)
Depreciation and amortization(25,045)(11,197)
Other(57)(73)
Total deferred tax liabilities$(95,155)$(70,533)
Net deferred tax liabilities
$(6,959)$(4,695)
Schedule of Reconciliation of Gross Unrecognized Tax Benefits
A reconciliation of the beginning and ending amount of the Company's total gross unrecognized tax benefits was as follows:
Year Ended December 31,
202320222021
(in thousands)
Balance as of the beginning of the period$23,940 $12,590 $5,682 
Increases for tax positions related to the prior year590 5,753 1,784 
Decreases for tax positions related to the prior year(243)— — 
Additions for tax positions related to the current year4,752 5,597 5,124 
Balance as of the end of the period$29,039 $23,940 $12,590