v3.25.4
Outstanding Loans and Security Agreements - Schedule of Total Interest Expense and Amortization of Debt Issuance Costs (Details) - USD ($)
$ in Thousands
12 Months Ended
Nov. 04, 2025
May 29, 2024
May 16, 2023
Aug. 11, 2020
Dec. 31, 2025
Dec. 31, 2024
Dec. 31, 2023
Oct. 30, 2025
May 07, 2025
Debt Instrument [Line Items]                  
Interest expense [1]         $ 53,888 $ 62,636 $ 108,299    
Unamortized debt issuance costs         61,054 25,265      
Senior Secured Notes                  
Debt Instrument [Line Items]                  
Contractual interest expense         29,689 30,151 17,662    
Amortization of the initial purchasers’ discount and other issuance costs         8,223 6,807 4,419    
Interest expense         $ 37,912 36,958 22,081    
Unamortized debt issuance costs               $ 18,700  
0% Convertible Senior Notes due November 2030 | Senior Secured Notes                  
Debt Instrument [Line Items]                  
Interest rate         0.00%        
Contractual interest expense         $ 0 0 0    
Amortization of the initial purchasers’ discount and other issuance costs $ 9,800       1,848 0 0    
Interest expense         1,848 0 0    
Unamortized debt issuance costs         $ 57,909 0      
3.0% Green Convertible Senior Notes due June 2029 | Senior Secured Notes                  
Debt Instrument [Line Items]                  
Interest rate         3.00%        
Contractual interest expense         $ 12,169 7,111 0    
Amortization of the initial purchasers’ discount and other issuance costs   $ 700     2,614 1,500 0    
Interest expense         14,783 8,611 0    
Unamortized debt issuance costs         $ 1,652 $ 11,261     $ 3,300
3.0% Green Convertible Senior Notes due June 2028 | Senior Secured Notes                  
Debt Instrument [Line Items]                  
Interest rate         3.00% 3.00%      
Contractual interest expense         $ 16,444 $ 18,975 11,912    
Amortization of the initial purchasers’ discount and other issuance costs     $ 3,900   3,393 3,915 2,450    
Interest expense         19,837 22,890 14,362    
Unamortized debt issuance costs         $ 1,493 $ 13,389      
2.5% Green Convertible Senior Notes due August 2025 | Senior Secured Notes                  
Debt Instrument [Line Items]                  
Interest rate         2.50% 2.50%      
Contractual interest expense         $ 1,076 $ 4,065 5,750    
Amortization of the initial purchasers’ discount and other issuance costs       $ 3,000 368 1,392 1,969    
Interest expense         1,444 5,457 $ 7,719    
Unamortized debt issuance costs         $ 0 $ 615      
[1] Including related party interest expense of $0.1 million, $0.2 million and $0.1 million for the years ended December 31, 2025, 2024 and 2023, respectively.