v3.22.0.1
Income Taxes (Tables)
12 Months Ended
Jan. 31, 2022
Income Tax Disclosure [Abstract]  
Schedule of Income before Income Tax, Domestic and Foreign The Company’s geographical breakdown of its loss before provision for income taxes for the fiscal years ended January 31, 2022, January 31, 2021, and January 31, 2020 is as follows (in thousands):
Year Ended January 31,
202220212020
Domestic$(179,334)$(94,713)$(149,807)
International19,311 6,844 10,025 
Loss before provision for income taxes$(160,023)$(87,869)$(139,782)
Schedule of Components of Income Tax Expense (Benefit) The components of the provision for income taxes during the fiscal years ended January 31, 2022, January 31, 2021, and January 31, 2020 are as follows (in thousands):
Year Ended January 31,
202220212020
Current
Federal$— $— $— 
State611 401 104 
Foreign85,700 5,811 2,574 
Total current86,311 6,212 2,678 
Deferred
Federal(363)(136)(362)
State(63)(317)(57)
Foreign(13,530)(999)(262)
Total deferred(13,956)(1,452)(681)
Provision for income taxes$72,355 $4,760 $1,997 
Schedule of Effective Income Tax Rate Reconciliation The following table provides a reconciliation between income taxes computed at the federal statutory rate and the provision for income taxes during the fiscal years ended January 31, 2022, January 31, 2021, and January 31, 2020 (in thousands):
As of January 31,
202220212020
Provision for income taxes at statutory rate$(33,605)$(18,453)$(29,354)
State income taxes, net of federal benefits673 — 25 
Foreign tax rate differential
574 1,994 207 
Research and other credits(19,113)(9,373)(1,534)
Stock-based compensation(145,964)(140,489)(43,477)
Non-deductible expenses2,783 2,212 1,773 
Change in unrecognized tax benefits— — (2,659)
Change in valuation allowance210,680 168,869 77,016 
Tax impact of restructuring57,236 — — 
Other (909)— — 
Provision for income taxes$72,355 $4,760 $1,997 
Schedule of Deferred Tax Assets and Liabilities Significant components of the Company’s deferred tax assets and liabilities as of January 31, 2022 and January 31, 2021 are as follows (in thousands):
As of January 31,
20222021
Deferred tax assets
Net operating loss carryforwards$428,238 $289,889 
Research and other credit carryforwards56,539 22,778 
Intangible assets61,008 — 
Stock-based compensation33,202 20,154 
Deferred revenue34,425 21,595 
Accrued expenses12,550 7,791 
Operating lease liabilities10,144 10,718 
Capitalized research and development154,625 63,158 
Other, net4,514 — 
Gross deferred assets795,245 436,083 
Less: Valuation allowance(770,861)(413,828)
Total deferred tax assets24,384 22,255 
Deferred tax liabilities
Property and equipment, net(8,769)(4,446)
Capitalized Commissions(1,632)(2,960)
Intangible assets— (3,697)
Operating right-of-use assets(9,256)(9,610)
Other, net— (302)
Total deferred tax liabilities(19,657)(21,015)
Net deferred tax assets (liabilities)$4,727 $1,240 
Schedule of Unrecognized Tax Benefits Roll Forward The following is a rollforward of the total gross unrecognized tax benefits for the fiscal years ended January 31, 2022, January 31, 2021, and January 31, 2020 (in thousands):
Balance as of February 1, 2019$8,128 
Decreases in current period tax positions(2,659)
Balance as of January 31, 20205,469 
Increases in prior period tax positions6,926 
Increase in current period tax positions12,052 
Balance as of January 31, 202124,447 
Increases in prior period tax positions186 
Decreases in prior period tax positions(9,772)
Increase in current period tax positions11,463 
Balance as of January 31, 2022$26,324