v3.25.2
Deerfield warrants - Schedule of Fair Value Inputs (Details)
Jun. 30, 2025
Dec. 31, 2024
$ / shares
Share price in $ | Deerfield Warrants    
Class of Warrant or Right [Line Items]    
Warrants, measurement input   1.99
Risk-free interest rate | Deerfield Warrants    
Class of Warrant or Right [Line Items]    
Warrants, measurement input   0.043
Expected volatility | Deerfield Warrants    
Class of Warrant or Right [Line Items]    
Warrants, measurement input   0.830
Expected term (years)    
Class of Warrant or Right [Line Items]    
Warrants, term   4 months 24 days
Expected term (years) | Deerfield Warrants    
Class of Warrant or Right [Line Items]    
Warrants, term 10 months 21 days 16 months 21 days
Dividend yield | Deerfield Warrants    
Class of Warrant or Right [Line Items]    
Warrants, measurement input   0
Minimum | Exercise price in $ | Deerfield Warrants    
Class of Warrant or Right [Line Items]    
Warrants, measurement input   24.70
Minimum | Black-Scholes value in $ | Deerfield Warrants    
Class of Warrant or Right [Line Items]    
Warrants, measurement input   0
Maximum | Exercise price in $ | Deerfield Warrants    
Class of Warrant or Right [Line Items]    
Warrants, measurement input   28.07
Maximum | Black-Scholes value in $ | Deerfield Warrants    
Class of Warrant or Right [Line Items]    
Warrants, measurement input   0