Net Loss per Share - Schedule of Potentially Dilutive Shares Excluded from Calculation of Diluted Net Loss per Share (Details) - shares shares in Thousands |
3 Months Ended | 6 Months Ended |
|---|---|---|
Jun. 30, 2022 |
Jun. 30, 2021 |
|
| Stock Options | ||
| Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | ||
| Anti-dilutive securities excluded from calculation of diluted net loss per share | 4,022 | 5,066 |
| Unvested Restricted Stock Units And Restricted Stock Awards Not Subject To A Performance Condition | ||
| Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | ||
| Anti-dilutive securities excluded from calculation of diluted net loss per share | 94,323 | 107,526 |
| Convertible Notes (If Converted) | ||
| Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | ||
| Anti-dilutive securities excluded from calculation of diluted net loss per share | 89,379 | 76,703 |