Income Taxes (Tables)
|
12 Months Ended |
Jan. 31, 2020 |
| 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 years ended January 31, 2020, January 31, 2019, and January 31, 2018 is as follows: | | | | | | | | | | | | | | | | | | | Year Ended January 31, | | | | | | 2020 | | 2019 | | 2018 | | (in thousands) | | | | | | Domestic | $ | (149,807) | | | $ | (143,308) | | | $ | (137,523) | | | International | 10,025 | | | 4,598 | | | 2,962 | | | Loss before provision for income taxes | $ | (139,782) | | | $ | (138,710) | | | $ | (134,561) | |
|
| Schedule of Components of Income Tax Expense (Benefit) |
The components of the provision for income taxes as of January 31, 2020, January 31, 2019, and January 31, 2018 are as follows: | | | | | | | | | | | | | | | | | | | Year Ended January 31, | | | | | | 2020 | | 2019 | | 2018 | | | (in thousands) | | | | | Current | | | | | | | Federal | $ | — | | | $ | — | | | $ | — | | | State | (104) | | | (304) | | | (240) | | | Foreign | (2,574) | | | (1,481) | | | (800) | | | Total current | (2,678) | | | (1,785) | | | (1,040) | | | Deferred | | | | | | | Federal | 362 | | | — | | | — | | | State | 57 | | | — | | | — | | | Foreign | 262 | | | 418 | | | 111 | | | Total deferred | 681 | | | 418 | | | 111 | | | Provision for income taxes | $ | (1,997) | | | $ | (1,367) | | | $ | (929) | |
|
| 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 as of January 31, 2020, January 31, 2019, and January 31, 2018: | | | | | | | | | | | | | | | | | | | Year Ended January 31, | | | | | | 2020 | | 2019 | | 2018 | | (in thousands) | | | | | | Provision for income taxes at statutory rate | $ | 29,354 | | | $ | 29,129 | | | $ | 44,265 | | | State income taxes, net of federal benefit | (25) | | | (245) | | | (162) | | | Foreign earnings at different rates | (207) | | | (97) | | | 285 | | | Research and other credits | 1,534 | | | 3,769 | | | 2,621 | | | Stock-based compensation | 43,477 | | | (2,414) | | | (3,738) | | | Non-deductible expenses | (1,773) | | | (1,833) | | | (1,142) | | | Change in unrecognized tax benefits | 2,659 | | | — | | | — | | | Impact of U.S. tax reform | — | | | — | | | (36,146) | | | Transition tax | — | | | — | | | (521) | | | Valuation allowance | (77,016) | | | (29,676) | | | (6,391) | | | Provision for income taxes | $ | (1,997) | | | $ | (1,367) | | | $ | (929) | |
|
| Schedule of Deferred Tax Assets and Liabilities |
Significant components of the Company’s deferred tax assets and liabilities as of January 31, 2020 and January 31, 2019 are as follows: | | | | | | | | | | | | | Year Ended January 31, | | | | 2020 | | 2019 | | (in thousands) | | | | Deferred tax assets | | | | | Net operating loss carryforwards | $ | 166,083 | | | $ | 95,619 | | | Research credit carryforwards | 15,355 | | | 11,102 | | | Intangible assets | 78 | | | 307 | | | Stock-based compensation | 8,716 | | | 498 | | | Deferred revenue | 21,012 | | | 12,245 | | | Accrued expenses | 2,555 | | | 1,712 | | | Other | 950 | | | 1,009 | | | Gross deferred assets | 214,749 | | | 122,492 | | | Less: Valuation allowance | (207,596) | | | (120,391) | | | Total deferred tax assets | 7,153 | | | 2,101 | | | Deferred tax liabilities | | | | | Property and equipment, net | (2,534) | | | (1,890) | | | Capitalized Commissions | (4,456) | | | — | | | Intangible assets | — | | | (310) | | | Deferred revenue | — | | | — | | | Total deferred tax liabilities | (6,990) | | | (2,200) | | | Net deferred tax assets (liabilities) | $ | 163 | | | $ | (99) | |
|
| Schedule of Unrecognized Tax Benefits Roll Forward |
The following is a rollforward of the total gross unrecognized tax benefits for the years ended January 31, 2020, January 31, 2019, and January 31, 2018 (in thousands): | | | | | | | Balance as of February 1, 2017 | $ | 5,060 | | | Increases in current period tax positions | 3,068 | | | Balance as of January 31, 2018 | 8,128 | | | Increases in current period tax positions | — | | | Balance as of January 31, 2019 | 8,128 | | | Reductions in prior period tax positions | (2,659) | | | Balance as of January 31, 2020 | $ | 5,469 | |
|