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 | 9 Months Ended |
|---|---|---|
Sep. 30, 2022 |
Sep. 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,084 | 4,708 |
| 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,143 | 95,874 |
| 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 | 62,755 |