v3.24.0.1
Income Taxes - Additional Information (Detail) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Income Tax Contingency [Line Items]        
Total provision for income taxes $ 19,716 $ 10,067 $ 31,885  
Valuation allowance 2,102,251 2,051,655    
Valuation allowance, increase (decrease) 50,600 74,100    
Capitalized research and experimental expenses 214,848 70,839    
Outside basis difference 0 (6,512)    
Unrecognized tax benefits 112,016 81,904 $ 65,070 $ 75,557
United States        
Income Tax Contingency [Line Items]        
Net operating loss carryforwards 324,000 113,100    
Non-US        
Income Tax Contingency [Line Items]        
Net operating loss carryforwards 464,700      
California Franchise Tax Board        
Income Tax Contingency [Line Items]        
Deferred tax assets, tax credit carryforwards, research 99,500 91,400    
Domestic Tax Authority        
Income Tax Contingency [Line Items]        
Net operating loss carryforwards 5,000,000 5,600,000    
Operating loss carryforwards, not subject to expiration 4,200,000      
Deferred tax assets, tax credit carryforwards, research 290,100 230,200    
State and Local Jurisdiction | California Franchise Tax Board        
Income Tax Contingency [Line Items]        
Net operating loss carryforwards $ 2,500,000 $ 2,800,000