v3.25.2
Borrowings - Schedule of Aggregate Principal Outstanding of all Loans (Details) - USD ($)
$ in Thousands
Jun. 30, 2025
Dec. 31, 2024
Schedule of Borrowings [Line Items]    
Total payments due $ 1,449,649 $ 1,425,984
Unamortized debt discount (21,170) (23,816)
Total borrowings 1,428,479 1,402,168
Convertible senior notes    
Schedule of Borrowings [Line Items]    
Total payments due 1,230,379 1,230,379
Unamortized debt discount (21,170) (23,816)
Risk retention financing facility | Secured debt    
Schedule of Borrowings [Line Items]    
Total payments due 29,731 0
Revolving Credit Facility | Warehouse credit facilities    
Schedule of Borrowings [Line Items]    
Total payments due $ 189,539 $ 195,605