v3.22.4
Income Taxes - Narrative (Details) - USD ($)
$ in Thousands
12 Months Ended
Jan. 31, 2023
Jan. 31, 2022
Jan. 31, 2021
Jan. 31, 2020
Operating Loss Carryforwards [Line Items]        
Provision for income taxes $ 22,402 $ 72,355 $ 4,760  
Valuation allowance increase (decrease), amount 139,200 357,000 206,200  
Deferred tax assets, valuation allowance 910,070 770,861 413,800  
Research and other credit carryforwards 75,712 56,539    
Unrecognized tax benefits 36,901 26,324 $ 24,447 $ 5,469
Unrecognized tax benefits that would impact effective tax rate 4,200      
Domestic Tax Authority | Federal        
Operating Loss Carryforwards [Line Items]        
Operating loss carryforwards 1,600,000      
Research and other credit carryforwards 87,400      
State and Local Jurisdiction | California        
Operating Loss Carryforwards [Line Items]        
Operating loss carryforwards 248,200      
Research and other credit carryforwards 18,800      
State and Local Jurisdiction | Other States        
Operating Loss Carryforwards [Line Items]        
Operating loss carryforwards 1,000,000      
Foreign Tax Authority        
Operating Loss Carryforwards [Line Items]        
Provision for income taxes 4,700 $ 57,200    
Foreign Tax Authority | United Kingdom        
Operating Loss Carryforwards [Line Items]        
Operating loss carryforwards $ 80,900