Annual report pursuant to Section 13 and 15(d)

Income Taxes - Narrative (Details)

v3.22.2
Income Taxes - Narrative (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Operating Loss Carryforwards [Line Items]        
Deferred tax asset increase $ 243,382 $ 56,716 $ 19,700  
Unrecognized tax benefits 17,834 $ 5,256 $ 2,360 $ 982
Domestic Tax Authority        
Operating Loss Carryforwards [Line Items]        
Operating loss carryforwards 913,578      
Domestic Tax Authority | Research Tax Credit Carryforward        
Operating Loss Carryforwards [Line Items]        
Tax credit carryforward 41,623      
State and Local Jurisdiction        
Operating Loss Carryforwards [Line Items]        
Operating loss carryforwards 728,261      
State and Local Jurisdiction | Research Tax Credit Carryforward        
Operating Loss Carryforwards [Line Items]        
Tax credit carryforward $ 21,358