v3.26.1
Fair Value Measurements - Company's recurring measurements for assets and liabilities at fair value (Details) - Level 3 - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Convertible Notes    
Recurring measurements for assets and liabilities at fair value    
Balance at the beginning $ 34,600 $ 11,689
Change in fair value 8,940 3,485
Exchange of convertible notes (41,785)  
Balance at the end 1,755 15,174
Warrant Liabilities    
Recurring measurements for assets and liabilities at fair value    
Balance at the beginning 3,276 1,187
Issuance of warrants 17,688 93,986
Change in fair value (9,597) (86,187)
Warrant cashless exercise   (6,865)
Balance at the end 11,367 2,121
Contingent consideration    
Recurring measurements for assets and liabilities at fair value    
Balance at the beginning 42 3,541
Change in fair value (15) (3,472)
Balance at the end 27 $ 69
Derivative Liability    
Recurring measurements for assets and liabilities at fair value    
Balance at the beginning 14,879  
Change in fair value 1,743  
Settlement of derivative liability $ (16,622)