Earnings (Loss) per Share - Antidilutive Securities Excluded from Computation of Earnings Per Share (Details) - shares shares in Thousands |
3 Months Ended | |
|---|---|---|
Mar. 31, 2026 |
Mar. 31, 2025 |
|
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Total (in shares) | 4,341 | 5,605 |
| Common stock warrants | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Total (in shares) | 2,930 | 3,018 |
| Stock options | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Total (in shares) | 1,280 | 1,121 |
| Restricted stock units | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Total (in shares) | 103 | 1,318 |
| Employee stock purchase plan | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Total (in shares) | 28 | 29 |
| 2025 Convertible Notes | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Total (in shares) | 0 | 119 |