Stock-based Compensation - Expense and unrecognized (Details) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Sep. 30, 2021 |
Sep. 30, 2020 |
Sep. 30, 2021 |
Sep. 30, 2020 |
|
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||
| Share-based compensation expense | $ 19,098 | $ 319 | $ 89,758 | $ 1,059 |
| Total unrecognized compensation cost related to options | 59,600 | 59,600 | ||
| Research and development expense. | ||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||
| Share-based compensation expense | 5,810 | 225 | 22,634 | 688 |
| Selling, General and Administrative Expenses [Member] | ||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||
| Share-based compensation expense | 13,288 | $ 94 | 67,124 | $ 371 |
| PSUs | ||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||
| Share-based compensation expense | $ 1,800 | $ 3,000 | ||
| X | ||||||||||
- Definition Amount of expense for award under share-based payment arrangement. Excludes amount capitalized. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of cost to be recognized for option under share-based payment arrangement. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available.
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|