Net Income (Loss) Per Share - Schedule of Antidilutive Securities Excluded from Calculation of Diluted Net Loss Per Share (Details) - shares shares in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Sep. 30, 2020 |
Sep. 30, 2019 |
Sep. 30, 2020 |
Sep. 30, 2019 |
|
| Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | ||||
| Antidilutive securities excluded from calculation of diluted net loss per share | 688 | 16,234 | 14,231 | 16,234 |
| 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 | 688 | 16,189 | 14,229 | 16,189 |
| Unvested Shares of Common Stock Issued Upon Early Exercise of Stock Options and Business Acquisition | ||||
| Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | ||||
| Antidilutive securities excluded from calculation of diluted net loss per share | 45 | 2 | 45 | |