XML 80 R57.htm IDEA: XBRL DOCUMENT v3.22.0.1
Income Taxes - Additional Information (Detail) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Income Taxes [Line Items]        
Increase in valuation allowance tax $ 88,700      
Net operating loss carryforwards, federal 1,064,400      
Research and development tax credit carryforwards $ 94,500      
Research and development tax credit carryforwards, expiration year 2035      
Net operating loss carryforwards, state $ 1,045,500      
Tax credit carryforwards $ 2,000      
Tax credit carryforwards, expiration year 2024      
Unrecognized tax benefits $ 144,067 $ 110,601 $ 86,000 $ 41,074
Unrecognized tax benefits if recognized would impact effective tax rate $ 0      
Other States        
Income Taxes [Line Items]        
Net tax operating losses, expiration begins to expire in 2030      
Net operating loss carryforwards, state $ 226,600      
Domestic        
Income Taxes [Line Items]        
Net operating loss carryforwards subject to expiration $ 65,200      
Net tax operating losses, expiration begin to expire in 2032      
Net operating loss carryforwards not subject to expiration $ 999,200      
Research and development tax credit carryforwards $ 18,000      
Research and development tax credit carryforwards, expiration year 2032      
State        
Income Taxes [Line Items]        
Net tax operating losses, expiration begin to expire in 2032      
Research and development tax credit carryforwards $ 30,400