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 | |
|---|---|---|
Mar. 31, 2021 |
Mar. 31, 2020 |
|
| Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | ||
| Antidilutive securities excluded from calculation of diluted net loss per share | 74 | 15,246 |
| 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 | 74 | 15,227 |
| 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 | 19 | |