Annual report pursuant to Section 13 and 15(d)

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

v3.22.0.1
Fair Value - Fair Value, Assets Measured On Recurring Basis, Unobservable Input Reconciliation (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended 12 Months Ended
Mar. 31, 2021
Dec. 31, 2021
Dec. 31, 2020
Mortgage loans held for investment      
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]      
Beginning balance $ 10,659,984 $ 11,171,736 $ 10,894,577
Total gain or losses included in earnings 132,499 272,802 627,251
Purchases, settlements and transfers:      
Purchases and additions, net 1,143,109 4,438,629 3,616,667
Sales and settlements (534,738) (2,235,651) (1,536,977)
Transfers in/(out) between categories (229,118) (2,060,134) (2,941,534)
Ending balance 11,171,736 11,587,382 10,659,984
Mortgage loans held for investment, subject to nonrecourse debt      
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]      
Beginning balance 5,396,167 5,291,444 3,511,212
Total gain or losses included in earnings (37,757) 71,126 304,663
Purchases, settlements and transfers:      
Purchases and additions, net 21,064 80,542 136,838
Sales and settlements (360,128) (1,275,674) (1,285,902)
Transfers in/(out) between categories 272,098 2,050,756 2,729,356
Ending balance 5,291,444 6,218,194 5,396,167
Mortgage loans held for sale      
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]      
Beginning balance 152,854 135,681 182,973
Total gain or losses included in earnings 2,764 1,214 (2,158)
Purchases, settlements and transfers:      
Purchases and additions, net 175,551 915,522 409,467
Sales and settlements (152,579) (894,494) (605,018)
Transfers in/(out) between categories (42,909) 8,828 167,590
Ending balance 135,681 166,751 152,854
Derivative assets      
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]      
Beginning balance 88,660 38,574 14,008
Total gain or losses included in earnings (50,040) (14,217) 74,470
Purchases, settlements and transfers:      
Purchases and additions, net     182
Sales and settlements (46) (1,135)  
Ending balance 38,574 23,222 88,660
Mortgage servicing rights      
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]      
Beginning balance 180,684 267,364 2,600
Total gain or losses included in earnings 20,349 (15,200) 4,562
Purchases, settlements and transfers:      
Purchases and additions, net 74,978 178,279 173,522
Sales and settlements (8,647) (2,501)  
Ending balance 267,364 427,942 180,684
Debt securities      
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]      
Beginning balance     102,260
Total gain or losses included in earnings     2,288
Purchases, settlements and transfers:      
Purchases and additions, net     24,489
Sales and settlements     (129,037)
Retained bonds      
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]      
Beginning balance   0  
Total gain or losses included in earnings   1,344  
Purchases, settlements and transfers:      
Purchases and additions, net   54,752  
Sales and settlements   (482)  
Transfers in/(out) between categories   0  
Ending balance 0 55,614  
Investments      
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]      
Beginning balance 18,934 9,470 20,508
Total gain or losses included in earnings (9,464) (3,470) (5,512)
Purchases, settlements and transfers:      
Purchases and additions, net     3,938
Ending balance $ 9,470 $ 6,000 $ 18,934