XML 151 R135.htm IDEA: XBRL DOCUMENT v3.22.4
DERIVATIVES - Gain (Losses) (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Derivative [Line Items]      
Total gain (loss) $ 1,380,323 $ (79,394) $ 5,688
Settlement of derivatives 374,464 (172,581) (74,812)
Gain (loss) on settlement of residential mortgage loan origination derivative instruments 1,285,219 240,610 (361,755)
Servicing Revenue      
Derivative [Line Items]      
Total gain (loss) (11,316) (30,481) $ 0
Settlement of derivatives $ (79,000) $ (34,700)  
Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] Contractually Specified Servicing Fee, Late Fee, and Ancillary Fee Earned in Exchange for Servicing Financial Asset, Net Of Change In Fair Value Contractually Specified Servicing Fee, Late Fee, and Ancillary Fee Earned in Exchange for Servicing Financial Asset, Net Of Change In Fair Value Contractually Specified Servicing Fee, Late Fee, and Ancillary Fee Earned in Exchange for Servicing Financial Asset, Net Of Change In Fair Value
Gain On Originated Residential Mortgage Loans, Held For Sale, Net      
Derivative [Line Items]      
Total gain (loss) $ (77,292) $ (175,135) $ 133,967
Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] Gain on originated residential mortgage loans, held-for-sale, net Gain on originated residential mortgage loans, held-for-sale, net Gain on originated residential mortgage loans, held-for-sale, net
Change In Fair Value Of Investments      
Derivative [Line Items]      
Total gain (loss) $ 1,094,467 $ 298,803 $ (53,467)
Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] Change in fair value of investments Change in fair value of investments Change in fair value of investments
Gain (Loss) On Settlement Of Investments, Net      
Derivative [Line Items]      
Total gain (loss) $ 374,464 $ (172,581) $ (74,812)
Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] Gain (loss) on settlement of investments, net Gain (loss) on settlement of investments, net Gain (loss) on settlement of investments, net
TBAs | Servicing Revenue      
Derivative [Line Items]      
Total gain (loss) $ (15,205) $ 10,483 $ 0
TBAs | Gain On Originated Residential Mortgage Loans, Held For Sale, Net      
Derivative [Line Items]      
Total gain (loss) 25,700 118,564 (115,243)
TBAs | Change In Fair Value Of Investments      
Derivative [Line Items]      
Total gain (loss) 29,506 0 0
TBAs | Gain (Loss) On Settlement Of Investments, Net      
Derivative [Line Items]      
Total gain (loss) 279,648 (36,508) (72,127)
Treasury futures      
Derivative [Line Items]      
Total gain (loss) (1,746) (23,961) 0
Options on treasury futures      
Derivative [Line Items]      
Total gain (loss) 5,635 (17,003) 0
Interest rate lock commitments      
Derivative [Line Items]      
Total gain (loss) (102,992) (293,699) 249,183
Forward Loan Sale Commitments      
Derivative [Line Items]      
Total gain (loss) 0 0 27
Interest rate swaps | Change In Fair Value Of Investments      
Derivative [Line Items]      
Total gain (loss) 1,064,961 298,803 (53,467)
Interest rate swaps | Gain (Loss) On Settlement Of Investments, Net      
Derivative [Line Items]      
Total gain (loss) $ 94,816 $ (136,073) $ (2,685)