Segment and Geographic Information - Summary of Reconciliation of Segment Financial Information to Loss from Operations (Detail) - USD ($) $ in Thousands |
12 Months Ended | ||||
|---|---|---|---|---|---|
Dec. 31, 2021 |
Dec. 31, 2020 |
Dec. 31, 2019 |
|||
| Segment Reporting Information [Line Items] | |||||
| Stock-based compensation expense | $ 778,215 | $ 1,270,702 | $ 241,970 | ||
| Loss from operations | (411,046) | (1,173,679) | (576,444) | ||
| Reconciling items | |||||
| Segment Reporting Information [Line Items] | |||||
| Research and development expenses | [1] | 237,189 | 203,597 | 237,630 | |
| General and administrative expenses | [1] | 295,071 | 293,637 | 254,025 | |
| Stock-based compensation expense | 778,215 | 1,270,702 | 241,970 | ||
| Operating Segments | |||||
| Segment Reporting Information [Line Items] | |||||
| Contribution | $ 899,429 | $ 594,257 | $ 157,181 | ||
| |||||