v3.26.1
Short-Term Debt - Assets Sold Under Agreement to Repurchase (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2026
Jun. 30, 2025
Dec. 31, 2025
Carrying value:          
Unpaid principal balance $ 8,440,064   $ 8,440,064    
Total loans sold under agreements to repurchase 8,435,392   8,435,392   $ 8,794,002
Loans held for sale 7,819,890   7,819,890   9,123,410
Servicing advances, net 589,386   589,386   589,542
Mortgage servicing rights, at fair value 10,586,794   10,586,794   9,598,941
Other Assets 993,504   $ 993,504   1,026,913
Debt Instrument, Variable Interest Rate, Type [Extensible Enumeration]     us-gaap:SecuredOvernightFinancingRateSofrMember    
Loan Repo Facility          
During the period:          
Average balance of assets sold under agreements to repurchase $ 9,378,290 $ 7,183,987 $ 8,679,015 $ 6,649,802  
Weighted-average interest rate 5.42% 6.00% 5.36% 5.97%  
Total interest expense $ 132,070 $ 112,685 $ 242,088 $ 206,914  
Maximum daily amount outstanding 10,648,718 8,581,781 10,648,718 8,690,936  
Carrying value:          
Unpaid principal balance 8,440,064   8,440,064   8,801,215
Unamortized debt issuance costs (4,672)   (4,672)   (7,213)
Total loans sold under agreements to repurchase $ 8,435,392   $ 8,435,392   $ 8,794,002
Weighted average interest rate 5.24%   5.24%   5.18%
Available borrowing capacity committed $ 994,475   $ 994,475   $ 1,486,344
Available borrowing capacity uncommitted 6,480,488   6,480,488   3,367,758
Available borrowing capacity 7,474,963   7,474,963   4,854,102
Amortization of debt issuance costs 5,300 $ 5,100 11,500 $ 9,900  
Asset Pledged as Collateral without Right          
Carrying value:          
Loans held for sale 7,686,901   7,686,901   8,983,503
Servicing advances, net $ 390,814   $ 390,814   $ 406,825
Assets, Pledging Purpose [Extensible Enumeration] Notes Payable   Notes Payable   Notes Payable
Mortgage servicing rights, at fair value $ 10,306,189   $ 10,306,189   $ 9,367,851
Other Assets $ 13,976   $ 13,976   $ 10,393
Asset Pledged as Collateral without Right | Mortgage servicing rights          
Carrying value:          
Assets, Pledging Purpose [Extensible Enumeration] Notes Payable   Notes Payable   Notes Payable
Asset Pledged as Collateral without Right | Loan Repo Facility | Principal-only stripped MBS          
Carrying value:          
Principal-only stripped MBS $ 609,103   $ 609,103   $ 722,528
Asset Pledged as Collateral without Right | Loan Repo Facility | Servicing advances          
Carrying value:          
Servicing advances, net 390,814   390,814   406,825
Asset Pledged as Collateral without Right | Loan Repo Facility | Mortgage servicing rights          
Carrying value:          
Mortgage servicing rights, at fair value 9,837,309   9,837,309   7,968,105
Asset Pledged as Collateral without Right | Mortgage loans held for sale | Loan Repo Facility | Loans held for sale          
Carrying value:          
Loans held for sale 6,953,878   6,953,878   8,245,256
Asset Pledged as Collateral without Right | Deposits.          
Carrying value:          
Other Assets 13,976   13,976   10,393
Asset Pledged as Collateral without Right | Deposits. | Margin deposits          
Carrying value:          
Other Assets 13,976   13,976   10,393
Asset Pledged as Collateral without Right | Deposits. | Loan Repo Facility | Margin deposits          
Carrying value:          
Other Assets $ 13,976   $ 13,976   $ 10,393