Stock-based Compensation - Schedule of stock-based compensation expense (Details) - USD ($) $ in Millions |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2022 |
Jun. 30, 2021 |
Jun. 30, 2022 |
Jun. 30, 2021 |
|
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||
| Share-based compensation expense | $ 20.8 | $ 25.5 | $ 41.5 | $ 70.6 |
| Research and development | ||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||
| Share-based compensation expense | 8.2 | 8.5 | 15.2 | 15.6 |
| Selling, general and administrative | ||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||
| Share-based compensation expense | $ 12.6 | $ 17.0 | $ 26.3 | $ 55.0 |
| 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 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
|