v3.25.2
5. Government Grants (Details) - USD ($)
$ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended
Jun. 30, 2025
Feb. 28, 2025
Dec. 31, 2024
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2025
Jun. 30, 2024
Government Assistance [Line Items]              
Government Assistance, Gross Amount Prior To Transfer $ 311,900   $ 857,200        
Aggregate Transaction Price for Sale of Section 45X Tax Credits 296,300   818,600        
Cash Proceeds Received from Sale of Section 45X Tax Credits   $ 202,600 616,000        
Loss from Sale of Section 45X Tax Credits       $ 15,600      
Cost of sales [Member]              
Government Assistance [Line Items]              
Government Assistance, Amount, Consolidated Statement of Operations       $ 377,041 $ 258,580 $ 678,861 $ 453,007
Government Assistance, Consolidated Statement of Operations [Extensible Enumeration]       Cost of sales Cost of sales Cost of sales Cost of sales
Selling, general and administrative [Member]              
Government Assistance [Line Items]              
Government Assistance, Amount, Consolidated Statement of Operations       $ 15 $ 0 $ 48 $ 0
Government Assistance, Consolidated Statement of Operations [Extensible Enumeration]       Selling, general and administrative Selling, general and administrative Selling, general and administrative Selling, general and administrative
Research and development [Member]              
Government Assistance [Line Items]              
Government Assistance, Amount, Consolidated Statement of Operations       $ 347 $ 0 $ 2,191 $ 4,000
Government Assistance, Consolidated Statement of Operations [Extensible Enumeration]       Research and development Research and development Research and development Research and development
Property, Plant and Equipment [Member]              
Government Assistance [Line Items]              
Government Assistance, Amount, Noncurrent, Consolidated Balance Sheet $ 144,597   $ 150,375 $ 144,597   $ 144,597  
Government Assistance, Noncurrent, Consolidated Balance Sheet [Extensible Enumeration] Property, plant and equipment, net   Property, plant and equipment, net Property, plant and equipment, net   Property, plant and equipment, net  
Other Assets [Member]              
Government Assistance [Line Items]              
Government Assistance, Amount, Noncurrent, Consolidated Balance Sheet $ 5,476   $ 5,625 $ 5,476   $ 5,476  
Government Assistance, Noncurrent, Consolidated Balance Sheet [Extensible Enumeration] Other assets   Other assets Other assets   Other assets