Annual report pursuant to Section 13 and 15(d)

Derivative Instruments and Hedging Activities - Derivative Instruments, Gain (Loss) in Statement of Financial Performance (Details)

v3.25.0.1
Derivative Instruments and Hedging Activities - Derivative Instruments, Gain (Loss) in Statement of Financial Performance (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2024
Dec. 31, 2023
Dec. 31, 2022
Derivative Instruments, Gain (Loss) [Line Items]      
Amount of Gain (Loss) Recognized in Income $ 107,151 $ (219,156) $ 38,809
TBAs | (Loss) gain on other derivative instruments      
Derivative Instruments, Gain (Loss) [Line Items]      
Amount of Gain (Loss) Recognized in Income (144,416) (155,942) (487,713)
Futures, net | (Loss) gain on other derivative instruments      
Derivative Instruments, Gain (Loss) [Line Items]      
Amount of Gain (Loss) Recognized in Income 105,216 (8,973) 514,467
Options on futures | (Loss) gain on other derivative instruments      
Derivative Instruments, Gain (Loss) [Line Items]      
Amount of Gain (Loss) Recognized in Income (127) (779) (2,224)
Interest rate swap agreements | Purchase contracts | Gain (loss) on interest rate swap and swaption agreements      
Derivative Instruments, Gain (Loss) [Line Items]      
Amount of Gain (Loss) Recognized in Income 301,781 (53,263) 772,829
Interest rate swap agreements | Sale contracts | Gain (loss) on interest rate swap and swaption agreements      
Derivative Instruments, Gain (Loss) [Line Items]      
Amount of Gain (Loss) Recognized in Income (153,941) 526 (756,744)
Swaptions, net | Gain (loss) on interest rate swap and swaption agreements      
Derivative Instruments, Gain (Loss) [Line Items]      
Amount of Gain (Loss) Recognized in Income 31 (209) 13,414
Interest rate lock commitments      
Derivative Instruments, Gain (Loss) [Line Items]      
Amount of Gain (Loss) Recognized in Income 137 0 0
Forward mortgage loan sale commitments      
Derivative Instruments, Gain (Loss) [Line Items]      
Amount of Gain (Loss) Recognized in Income 160 0 0
Inverse interest-only securities | (Loss) gain on other derivative instruments      
Derivative Instruments, Gain (Loss) [Line Items]      
Amount of Gain (Loss) Recognized in Income $ (1,690) $ (516) $ (15,220)