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, | | 2022 | | 2021 | | 2020 | | | | | | | | Domestic | $ | (179,334) | | | $ | (94,713) | | | $ | (149,807) | | | International | 19,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, | | 2022 | | 2021 | | 2020 | | | | | | | | Current | | | | | | | Federal | $ | — | | | $ | — | | | $ | — | | | State | 611 | | | 401 | | | 104 | | | Foreign | 85,700 | | | 5,811 | | | 2,574 | | | Total current | 86,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, | | 2022 | | 2021 | | 2020 | | | | | | | | Provision for income taxes at statutory rate | $ | (33,605) | | | $ | (18,453) | | | $ | (29,354) | | | State income taxes, net of federal benefits | 673 | | | — | | | 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 expenses | 2,783 | | | 2,212 | | | 1,773 | | | Change in unrecognized tax benefits | — | | | — | | | (2,659) | | | Change in valuation allowance | 210,680 | | | 168,869 | | | 77,016 | | | Tax impact of restructuring | 57,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, | | 2022 | | 2021 | | | | | | Deferred tax assets | | | | | Net operating loss carryforwards | $ | 428,238 | | | $ | 289,889 | | | Research and other credit carryforwards | 56,539 | | | 22,778 | | | Intangible assets | 61,008 | | | — | | | Stock-based compensation | 33,202 | | | 20,154 | | | Deferred revenue | 34,425 | | | 21,595 | | | Accrued expenses | 12,550 | | | 7,791 | | | Operating lease liabilities | 10,144 | | | 10,718 | | | Capitalized research and development | 154,625 | | | 63,158 | | | Other, net | 4,514 | | | — | | | Gross deferred assets | 795,245 | | | 436,083 | | | Less: Valuation allowance | (770,861) | | | (413,828) | | | Total deferred tax assets | 24,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, 2020 | 5,469 | | | Increases in prior period tax positions | 6,926 | | | Increase in current period tax positions | 12,052 | | | Balance as of January 31, 2021 | 24,447 | | | Increases in prior period tax positions | 186 | | | Decreases in prior period tax positions | (9,772) | | | Increase in current period tax positions | 11,463 | | | Balance as of January 31, 2022 | $ | 26,324 | |
|