v3.26.1
Stock-based compensation and stockholders' equity - Narrative (Details)
$ / shares in Units, shares in Millions
3 Months Ended 6 Months Ended 12 Months Ended
Jun. 30, 2026
USD ($)
$ / shares
shares
Jun. 30, 2026
USD ($)
increment
$ / shares
shares
Dec. 31, 2024
USD ($)
Feb. 28, 2026
USD ($)
Dec. 31, 2025
USD ($)
Mar. 31, 2025
USD ($)
Aug. 30, 2024
shares
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]              
Nonvested options forfeited (in shares)   0.1          
Share repurchase program, excise tax | $ $ 100,000 $ 200,000          
Repurchases of common stock, including commissions and excise tax | $ $ 9,100,000 $ 18,200,000          
Treasury stock, shares, acquired (in shares) 1.1 1.9          
Shares average cost price (in dollars per share) | $ / shares $ 8.38 $ 9.21          
Warrant liability | $ $ 12,800,000 $ 12,800,000     $ 21,700,000    
Series I Warrants              
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]              
Class of warrant or right, number of securities called by warrants or rights (in shares)             1.0
Series II Warrants              
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]              
Class of warrant or right, number of securities called by warrants or rights (in shares)             1.5
2025 Share Repurchase Program              
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]              
Share repurchase program, authorized, amount | $           $ 50,000,000.0  
Reauthorized Share Repurchase Program              
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]              
Share repurchase program, authorized, amount | $       $ 50,000,000.0      
Remaining authorized amount | $ $ 37,500,000 $ 37,500,000          
Stock Options              
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]              
Stock options granted (in shares)   1.1          
Restricted Stock Units              
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]              
Equity instruments other than options granted (in shares)   4.4          
Equity instruments other than options, forfeited in period (in shares)   0.2          
Long-Term Incentive Award              
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]              
Granted long-term incentive award | $     $ 8,000,000.0        
Award vesting period   5 years          
Performance Stock Option              
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]              
Award vesting period   5 years          
Other Equity Awards              
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]              
Number of vesting increments | increment   3          
Performance Shares              
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]              
Equity instruments other than options, forfeited in period (in shares)   0.1          
Performance Shares | Minimum              
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]              
Award vesting period   1 year          
Performance Shares | Maximum              
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]              
Award vesting period   3 years