v3.25.4
Outstanding Loans and Security Agreements - Schedule of Recourse Debt Facilities (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
Nov. 04, 2025
USD ($)
$ / shares
May 29, 2024
USD ($)
$ / shares
May 16, 2023
USD ($)
$ / shares
Aug. 11, 2020
USD ($)
$ / shares
Aug. 31, 2020
USD ($)
$ / shares
Dec. 31, 2025
USD ($)
shares
Dec. 31, 2024
USD ($)
shares
Dec. 31, 2023
USD ($)
Oct. 30, 2025
Aug. 15, 2025
USD ($)
May 07, 2025
May 06, 2025
Debt Instrument [Line Items]                        
Unpaid Principal Balance           $ 2,678,933 $ 1,154,057          
Senior Secured Notes                        
Debt Instrument [Line Items]                        
Other issuance costs           $ 8,223 6,807 $ 4,419        
0% Convertible Senior Notes due November 2030 | Senior Secured Notes                        
Debt Instrument [Line Items]                        
Interest Rate           0.00%            
Aggregate principal amount issued $ 2,500,000                      
Unpaid Principal Balance           $ 2,500,000            
Initial purchasers’ discount 50,000                      
Other issuance costs 9,800         $ 1,848 0 0        
Net proceeds received 2,440,200                      
Greenshoe option $ 300,000                      
Debt instrument, interest rate, effective percentage 0.50%                      
0% Convertible Senior Notes due November 2030 | Senior Secured Notes | Class A Common Stock                        
Debt Instrument [Line Items]                        
Debt instrument, convertible, stock price trigger (usd per share) | $ / shares $ 5.1290                      
Convertible stock price (in dollars per share) | $ / shares $ 194.97                      
Convertible, conversion ratio 2.6926                      
Debt instrument, convertible, number of shares available for conversion (in shares) | shares           19,554,000            
3.0% Green Convertible Senior Notes due June 2029 | Senior Secured Notes                        
Debt Instrument [Line Items]                        
Interest Rate           3.00%            
Aggregate principal amount issued   $ 402,500                    
Unpaid Principal Balance           $ 75,125 402,500          
Initial purchasers’ discount   12,100                    
Other issuance costs   700       $ 2,614 $ 1,500 0        
Net proceeds received   389,700                    
Greenshoe option   $ 52,500                    
Debt instrument, interest rate, effective percentage                 1.10%   3.20% 3.80%
3.0% Green Convertible Senior Notes due June 2029 | Senior Secured Notes | Class A Common Stock                        
Debt Instrument [Line Items]                        
Debt instrument, convertible, stock price trigger (usd per share) | $ / shares   $ 47.9795                    
Convertible stock price (in dollars per share) | $ / shares   $ 20.84                    
Convertible, conversion ratio   15.5932                    
Debt instrument, convertible, number of shares available for conversion (in shares) | shares           4,775,899 25,588,011          
3.0% Green Convertible Senior Notes due June 2028 | Senior Secured Notes                        
Debt Instrument [Line Items]                        
Interest Rate           3.00% 3.00%          
Aggregate principal amount issued     $ 632,500                  
Unpaid Principal Balance           $ 99,655 $ 632,500          
Initial purchasers’ discount     15,800                  
Other issuance costs     3,900     $ 3,393 $ 3,915 2,450        
Net proceeds received     612,800                  
Greenshoe option     $ 82,500                  
Debt instrument, interest rate, effective percentage                 4.20%   3.80%  
3.0% Green Convertible Senior Notes due June 2028 | Senior Secured Notes | Class A Common Stock                        
Debt Instrument [Line Items]                        
Debt instrument, convertible, stock price trigger (usd per share) | $ / shares     $ 53.0427                  
Convertible, conversion ratio     22.5430                  
Debt instrument, convertible, number of shares available for conversion (in shares) | shares           7,532,493 47,807,955          
2.5% Green Convertible Senior Notes due August 2025 | Senior Secured Notes                        
Debt Instrument [Line Items]                        
Interest Rate           2.50% 2.50%          
Aggregate principal amount issued   $ 141,800     $ 230,000              
Unpaid Principal Balance             $ 115,000     $ 2,200    
Initial purchasers’ discount         6,900              
Other issuance costs       $ 3,000   $ 368 $ 1,392 $ 1,969        
Net proceeds received         $ 220,100              
Debt instrument, interest rate, effective percentage           3.50%         1.70% 3.30%
2.5% Green Convertible Senior Notes due August 2025 | Senior Secured Notes | Class A Common Stock                        
Debt Instrument [Line Items]                        
Debt instrument, convertible, stock price trigger (usd per share) | $ / shares       $ 61.6808                
Convertible stock price (in dollars per share) | $ / shares         $ 16.21              
Convertible, conversion ratio         15.4202              
Debt instrument, convertible, number of shares available for conversion (in shares) | shares             8,866,615