Net Loss Per Share Attributable to Common Stockholders - Schedule of Anti-Dilutive Shares Excluded from Computation Of Net Income Per Share (Details) - shares shares in Thousands |
3 Months Ended | |
|---|---|---|
Mar. 31, 2023 |
Mar. 31, 2022 |
|
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Antidilutive securities (in shares) | 5,395 | 4,861 |
| Convertible preferred stock | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Antidilutive securities (in shares) | 3,256 | 2,981 |
| Restricted stock units | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Antidilutive securities (in shares) | 1,872 | 1,548 |
| Common stock options | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Antidilutive securities (in shares) | 226 | 279 |
| Employee stock purchase program | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Antidilutive securities (in shares) | 41 | 53 |