Stock-based compensation and stockholders' equity - Schedule of Stockholders' Equity Note, Warrants or Rights (Details) shares in Millions |
Jun. 30, 2026
$ / shares
shares
|
|---|---|
| Class of Warrant or Right [Line Items] | |
| Warrants Outstanding (in shares) | shares | 2.5 |
| Warrants issued related to the Prior Term Loan Agreement | |
| Class of Warrant or Right [Line Items] | |
| Warrants Outstanding (in shares) | shares | 2.5 |
| Warrants issued related to the Prior Term Loan Agreement | Minimum | |
| Class of Warrant or Right [Line Items] | |
| Range of Exercise Price per Share (in dollars per share) | $ / shares | $ 9.88 |
| Warrants issued related to the Prior Term Loan Agreement | Maximum | |
| Class of Warrant or Right [Line Items] | |
| Range of Exercise Price per Share (in dollars per share) | $ / shares | $ 15.72 |