Deerfield warrants - Narrative (Details) - USD ($) |
3 Months Ended | 6 Months Ended | |||||
---|---|---|---|---|---|---|---|
Aug. 15, 2022 |
Jun. 30, 2025 |
Jun. 30, 2024 |
Jun. 30, 2025 |
Jun. 30, 2024 |
Jun. 11, 2025 |
Dec. 31, 2024 |
|
Class of Warrant or Right [Line Items] | |||||||
Warrant exercise price (in dollars per share) | $ 0.08 | ||||||
Deerfield warrant obligation, change in fair value income (expense) | $ 0 | $ (838,000) | |||||
Deerfield Warrants | |||||||
Class of Warrant or Right [Line Items] | |||||||
Debt conversion, warrants issued (in shares) | 4,412,840 | ||||||
Deerfield warrant obligation, change in fair value income (expense) | $ 0 | $ (2,230,000) | $ 0 | $ (838,000) | |||
Deerfield obligation, fair value | $ 0 | ||||||
Deerfield Warrants | Warrants, Tranche One | |||||||
Class of Warrant or Right [Line Items] | |||||||
Debt conversion, warrants issued (in shares) | 2,631,578 | ||||||
Warrant exercise price (in dollars per share) | $ 24.70 | ||||||
Deerfield Warrants | Warrants, Tranche Two | |||||||
Class of Warrant or Right [Line Items] | |||||||
Debt conversion, warrants issued (in shares) | 1,781,262 | ||||||
Warrant exercise price (in dollars per share) | $ 28.07 |