v3.26.3
Debt - Narrative (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 9 Months Ended
Oct. 04, 2021
$ / shares
Aug. 31, 2024
USD ($)
shares
Mar. 31, 2024
USD ($)
shares
Dec. 31, 2023
USD ($)
shares
Sep. 30, 2026
USD ($)
day
Sep. 30, 2026
USD ($)
facility
Dec. 31, 2025
USD ($)
Oct. 31, 2021
USD ($)
Debt Instrument [Line Items]                
Aggregate principal amount         $ 3,873,784 $ 3,873,784 $ 1,830,629  
Common Stock                
Debt Instrument [Line Items]                
Extinguishment of convertible notes by issuance of common stock (in shares) | shares   10,591,795 72,621,879 9,490,000        
Line of Credit | Loan Warehouse Facilities                
Debt Instrument [Line Items]                
Number of new warehouses opened | facility           0    
Number of matured warehouse facilities | facility           0    
Number of facilities closed | facility           2    
Maximum available capacity of closed facilities         650,000 $ 650,000    
Convertible senior notes, due 2026 | Convertible notes                
Debt Instrument [Line Items]                
Face amount               $ 1,200,000
Debt repurchased, face amount   $ 84,000 $ 600,000 $ 88,000        
Conversion rate 0.0446150              
Conversion price (in dollars per share) | $ / shares $ 22.41              
Aggregate principal amount         $ 428,022 $ 428,022 428,022  
Interest rate         0.00% 0.00%    
Convertible senior notes, due 2029 | Convertible notes                
Debt Instrument [Line Items]                
Face amount     $ 862,500          
Aggregate principal amount         $ 862,500 $ 862,500 $ 862,500  
Interest rate     1.25%   1.25% 1.25%    
Threshold percentage of stock price trigger         130.00%      
Threshold trading days | day         20      
Threshold consecutive trading days | day         30