XML 116 R83.htm IDEA: XBRL DOCUMENT v3.22.0.1
Income Taxes - Additional Information (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Income Tax Disclosure [Abstract]        
Valuation allowance, period increase (decrease) $ 589,000 $ 57,900 $ 18,200  
Unrecognized tax benefits 72,919 19,386 10,121 $ 6,111
Unrecognized tax benefits, income tax penalties and interest accrued 0 0 0  
Significant change in unrecognized tax benefits is reasonably possible, amount of unrecorded benefit 0 $ 0 $ 0  
Domestic Tax Authority | Federal        
Operating Loss Carryforwards [Line Items]        
Operating loss carryforwards 2,120,800      
Domestic Tax Authority | Federal | Research Tax Credit Carryforward        
Operating Loss Carryforwards [Line Items]        
Research and development tax credit 84,700      
Domestic Tax Authority | Federal | Operating Loss Carryforwards, Not Subject to Expiration        
Operating Loss Carryforwards [Line Items]        
Operating loss carryforwards 2,035,200      
State and Local Jurisdiction        
Operating Loss Carryforwards [Line Items]        
Operating loss carryforwards 840,100      
State and Local Jurisdiction | California Franchise Tax Board | Research Tax Credit Carryforward        
Operating Loss Carryforwards [Line Items]        
Research and development tax credit 60,400      
Foreign Tax Authority        
Operating Loss Carryforwards [Line Items]        
Operating loss carryforwards $ 49,600