v3.24.0.1
Segment and Geographic Information - Summary of Reconciliation of Segment Financial Information to Loss from Operations (Detail) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Segment Reporting Information [Line Items]      
Income (loss) from operations $ 119,966 $ (161,201) $ (411,046)
Total stock-based compensation expense 475,903 564,798 778,215
Reconciling items      
Segment Reporting Information [Line Items]      
Income (loss) from operations 119,966 (161,201) (411,046)
Research and development expenses 306,560 265,808 237,189
General and administrative expenses 343,126 365,768 295,071
Total stock-based compensation expense 475,903 564,798 778,215
Operating Segments      
Segment Reporting Information [Line Items]      
Total contribution $ 1,245,555 $ 1,035,173 $ 899,429