v3.25.2
12. Share-Based Compensation (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2025
Jun. 30, 2024
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]        
Share-based compensation expense $ 6,810 $ 8,400 $ 9,394 $ 15,191
Restricted Stock and Performance Units        
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]        
Share-based compensation expense, unrecognized, unvested restricted stock and performance units 35,100   $ 35,100  
Share-based compensation expense, unrecognized, unvested weighted average period of recognition (in years)     1 year 4 months 24 days  
Cost of sales [Member]        
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]        
Share-based compensation expense 962 1,388 $ 1,306 2,415
Selling, general and administrative [Member]        
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]        
Share-based compensation expense 4,815 6,005 6,700 10,874
Research and development [Member]        
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]        
Share-based compensation expense 1,032 1,006 1,387 1,926
Production start-up [Member]        
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]        
Share-based compensation expense $ 1 $ 1 $ 1 $ (24)