Net loss per share - Summary of Potentially Dilutive Securities Excluded from Computation of Diluted Net Loss per Share (Details) - shares |
3 Months Ended | |
|---|---|---|
Mar. 31, 2026 |
Mar. 31, 2025 |
|
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Total potentially dilutive securities (in shares) | 22,594,186 | 16,552,035 |
| RSUs, PSUs, and restricted stock | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Total potentially dilutive securities (in shares) | 21,252,436 | 15,066,580 |
| Stock options | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Total potentially dilutive securities (in shares) | 926,557 | 1,178,205 |
| Contingently issuable shares under ESPP | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Total potentially dilutive securities (in shares) | 415,193 | 307,250 |