Net Income (Loss) Per Share - Schedule of Antidilutive Securities Excluded from Computation of Diluted Net Income per Share of Common Stock (Details) - shares shares in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2023 |
Dec. 31, 2022 |
Dec. 31, 2021 |
|
| Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | |||
| Antidilutive securities excluded from computation of earnings per share | 2,778 | 3,118 | 1,015 |
| Stock options | |||
| Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | |||
| Antidilutive securities excluded from computation of earnings per share | 1,374 | 1,669 | 721 |
| Restricted Stock Awards | |||
| Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | |||
| Antidilutive securities excluded from computation of earnings per share | 1,404 | 1,449 | 294 |