Quarterly report pursuant to Section 13 or 15(d)

Fair Value - Fair Value, Assets Measured On Recurring Basis, Unobservable Input Reconciliation (Details)

v3.22.1
Fair Value - Fair Value, Assets Measured On Recurring Basis, Unobservable Input Reconciliation (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2022
Mar. 31, 2021
Mortgage loans held for investment    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]    
Beginning balance $ 11,587,382 $ 10,659,984
Total gain or losses included in earnings (35,895) 132,499
Purchases, settlements and transfers:    
Purchases and additions, net 1,848,155 1,143,109
Sales and settlements (612,624) (534,738)
Transfers in/(out) between categories (895,876) (229,118)
Ending balance 11,891,142 11,171,736
Mortgage loans held for investment, subject to nonrecourse debt    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]    
Beginning balance 6,218,194 5,396,167
Total gain or losses included in earnings (313,720) (37,757)
Purchases, settlements and transfers:    
Purchases and additions, net 30,342 21,064
Sales and settlements (586,276) (360,128)
Transfers in/(out) between categories 887,450 272,098
Ending balance 6,235,990 5,291,444
Mortgage loans held for sale    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]    
Beginning balance 166,750 152,854
Total gain or losses included in earnings (7,040) 2,764
Purchases, settlements and transfers:    
Purchases and additions, net 396,020 175,551
Sales and settlements (329,590) (152,579)
Transfers in/(out) between categories 2,905 (42,909)
Ending balance 229,045 135,681
Derivative assets    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]    
Beginning balance 23,222 88,660
Total gain or losses included in earnings (20,486) (50,040)
Purchases, settlements and transfers:    
Sales and settlements   (46)
Ending balance 2,736 38,574
Mortgage servicing rights    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]    
Beginning balance 427,942 180,684
Total gain or losses included in earnings 52,368 20,349
Purchases, settlements and transfers:    
Purchases and additions, net 53,444 74,978
Sales and settlements (107,652) (8,647)
Ending balance 426,102 267,364
Retained Bonds    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]    
Beginning balance 55,614  
Total gain or losses included in earnings (3,289)  
Purchases, settlements and transfers:    
Sales and settlements (1,450)  
Ending balance 50,875  
Investments    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]    
Beginning balance 6,000 18,934
Total gain or losses included in earnings   (9,464)
Purchases, settlements and transfers:    
Ending balance $ 6,000 $ 9,470