Net (Loss) Income per Share Attributable to Common and Limited Common Stockholders - Schedule of Potentially Dilutive Securities not Included in Diluted Per Share Calculations Anti-dilutive (Details) - shares |
3 Months Ended | |
|---|---|---|
Mar. 31, 2024 |
Mar. 31, 2023 |
|
| Employee Stock Options And Restricted Stock Units | ||
| Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | ||
| Shares subject to outstanding common stock options and unvested RSUs and PRSUs (in shares) | 13,974,483 | 6,216,397 |