Net Income (Loss) Per Share - Schedule of Antidilutive Securities Excluded from Calculation of Diluted Net Income or Net Loss Per Share (Details) - shares shares in Thousands |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2021 |
Jun. 30, 2020 |
Jun. 30, 2021 |
Jun. 30, 2020 |
|
| Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | ||||
| Antidilutive securities excluded from calculation of diluted net loss per share | 125 | 14,374 | 125 | 14,374 |
| Restricted Stock Units and Stock Options | ||||
| Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | ||||
| Antidilutive securities excluded from calculation of diluted net loss per share | 125 | 14,365 | 125 | 14,365 |
| Unvested Shares of Common Stock Issued Upon Early Exercise of Stock Options | ||||
| Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | ||||
| Antidilutive securities excluded from calculation of diluted net loss per share | 9 | 9 | ||