v3.25.2
Notes Payable - Schedule of Notes Payable (Details) - USD ($)
$ in Thousands
Jun. 30, 2025
Mar. 21, 2025
Dec. 31, 2024
Nonrelated Party      
Debt Instrument [Line Items]      
Notes payable $ 4,188   $ 4,224
Notes payable, long-term portion 23,845   45,264
Notes Payable      
Debt Instrument [Line Items]      
Unpaid Principal Balance 44,807   50,577
Fair Value Measurement Adjustments 11,592   27,399
Original Issue Discount and Proceeds Allocated to Warrants (28,366)   (28,488)
Net Carrying Value 28,033   49,488
Secured SPA Notes | Notes Payable      
Debt Instrument [Line Items]      
Unpaid Principal Balance     3,118
Fair Value Measurement Adjustments     2,651
Original Issue Discount and Proceeds Allocated to Warrants     (312)
Net Carrying Value     5,457
2023 Unsecured SPA Notes | Notes Payable      
Debt Instrument [Line Items]      
Unpaid Principal Balance 5,000   4,380
Fair Value Measurement Adjustments 39   2,844
Original Issue Discount and Proceeds Allocated to Warrants (500)   (508)
Net Carrying Value $ 4,539   $ 6,716
Junior Secured SPA Notes | Notes Payable      
Debt Instrument [Line Items]      
Contractual Interest Rates 10.00%   10.00%
Unpaid Principal Balance $ 0   $ 28,840
Fair Value Measurement Adjustments 0   13,163
Original Issue Discount and Proceeds Allocated to Warrants 0   (15,944)
Net Carrying Value $ 0   $ 26,059
2024 Unsecured SPA Notes | Notes Payable      
Debt Instrument [Line Items]      
Contractual Interest Rates 10.00%   10.00%
Unpaid Principal Balance $ 18,299   $ 10,015
Fair Value Measurement Adjustments 8,683   8,741
Original Issue Discount and Proceeds Allocated to Warrants (16,973)   (11,724)
Net Carrying Value $ 10,009   $ 7,032
2025 March Unsecured SPA Notes      
Debt Instrument [Line Items]      
Contractual Interest Rates   10.00%  
2025 March Unsecured SPA Notes | Notes Payable      
Debt Instrument [Line Items]      
Contractual Interest Rates 10.00% 18.00%  
Unpaid Principal Balance $ 17,320    
Fair Value Measurement Adjustments 2,870    
Original Issue Discount and Proceeds Allocated to Warrants (10,893)    
Net Carrying Value $ 9,297    
Notes payable – China other | Notes Payable      
Debt Instrument [Line Items]      
Contractual Interest Rates 0.00%   0.00%
Unpaid Principal Balance $ 4,188   $ 4,173
Fair Value Measurement Adjustments 0   0
Original Issue Discount and Proceeds Allocated to Warrants 0   0
Net Carrying Value $ 4,188   $ 4,173
Auto loans | Notes Payable      
Debt Instrument [Line Items]      
Contractual Interest Rates     7.00%
Unpaid Principal Balance     $ 51
Fair Value Measurement Adjustments     0
Original Issue Discount and Proceeds Allocated to Warrants     0
Net Carrying Value     $ 51
Minimum | Secured SPA Notes | Notes Payable      
Debt Instrument [Line Items]      
Contractual Interest Rates     10.00%
Minimum | 2023 Unsecured SPA Notes | Notes Payable      
Debt Instrument [Line Items]      
Contractual Interest Rates 10.00%   10.00%
Maximum | Secured SPA Notes | Notes Payable      
Debt Instrument [Line Items]      
Contractual Interest Rates     15.00%
Maximum | 2023 Unsecured SPA Notes | Notes Payable      
Debt Instrument [Line Items]      
Contractual Interest Rates 15.00%   15.00%