v3.22.0.1
Income Taxes - Income Tax Reconciliation (Details) - USD ($)
$ in Thousands
12 Months Ended
Jan. 31, 2022
Jan. 31, 2021
Jan. 31, 2020
Income Tax Disclosure [Abstract]      
Provision for income taxes at statutory rate $ (33,605) $ (18,453) $ (29,354)
State income taxes, net of federal benefits 673 0 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 0 0 (2,659)
Change in valuation allowance 210,680 168,869 77,016
Tax impact of restructuring 57,236 0 0
Other (909) 0 0
Provision for income taxes $ 72,355 $ 4,760 $ 1,997