v3.25.2
Derivative Instruments and Hedging Activities - Derivative Instruments in Statement of Financial Position, Fair Value (Details) - USD ($)
Jun. 30, 2025
Dec. 31, 2024
TBAs    
Notional Disclosures [Abstract]    
Notional $ (3,040,382,000) $ (4,497,800,000)
Futures, net    
Derivative, Fair Value, Net [Abstract]    
Fair Value 0 0
Notional Disclosures [Abstract]    
Notional (3,398,092,000) (3,973,400,000)
Interest rate lock commitments    
Derivative, Fair Value, Net [Abstract]    
Fair Value 600,000 100,000
Notional Disclosures [Abstract]    
Notional (26,200,000) (18,300,000)
Forward mortgage loan sale commitments    
Derivative, Fair Value, Net [Abstract]    
Fair Value   200,000
Notional Disclosures [Abstract]    
Notional 0 (20,400,000)
Derivative Assets    
Derivative, Fair Value, Net [Abstract]    
Fair Value 88,651,000 10,114,000
Notional Disclosures [Abstract]    
Notional (4,820,330,000) (12,757,134,000)
Derivative Assets | Inverse interest-only securities    
Derivative, Fair Value, Net [Abstract]    
Fair Value 70,048,000 9,058,000
Notional Disclosures [Abstract]    
Notional (1,259,132,000) (135,310,000)
Derivative Assets | Interest rate swap agreements    
Derivative, Fair Value, Net [Abstract]    
Fair Value 0 0
Notional Disclosures [Abstract]    
Notional 0 (16,594,467,000)
Derivative Assets | TBAs    
Derivative, Fair Value, Net [Abstract]    
Fair Value 17,981,000 732,000
Notional Disclosures [Abstract]    
Notional (3,535,000,000) (34,000,000)
Derivative Assets | Futures, net    
Derivative, Fair Value, Net [Abstract]    
Fair Value 0 0
Notional Disclosures [Abstract]    
Notional 0 (3,973,400,000)
Derivative Assets | Interest rate lock commitments    
Derivative, Fair Value, Net [Abstract]    
Fair Value 622,000 151,000
Notional Disclosures [Abstract]    
Notional (26,198,000) (15,727,000)
Derivative Assets | Forward mortgage loan sale commitments    
Derivative, Fair Value, Net [Abstract]    
Fair Value   173,000
Notional Disclosures [Abstract]    
Notional   (19,030,000)
Derivative Liabilities    
Derivative, Fair Value, Net [Abstract]    
Fair Value (2,701,000) (24,897,000)
Notional Disclosures [Abstract]    
Notional (15,633,849,000) (4,535,756,000)
Derivative Liabilities | Inverse interest-only securities    
Derivative, Fair Value, Net [Abstract]    
Fair Value 0 0
Notional Disclosures [Abstract]    
Notional 0 0
Derivative Liabilities | Interest rate swap agreements    
Derivative, Fair Value, Net [Abstract]    
Fair Value 0 0
Notional Disclosures [Abstract]    
Notional (19,526,559,000) 0
Derivative Liabilities | TBAs    
Derivative, Fair Value, Net [Abstract]    
Fair Value (2,701,000) (24,883,000)
Notional Disclosures [Abstract]    
Notional (494,618,000) (4,531,800,000)
Derivative Liabilities | Futures, net    
Derivative, Fair Value, Net [Abstract]    
Fair Value 0 0
Notional Disclosures [Abstract]    
Notional (3,398,092,000) 0
Derivative Liabilities | Interest rate lock commitments    
Derivative, Fair Value, Net [Abstract]    
Fair Value 0 (13,000)
Notional Disclosures [Abstract]    
Notional $ 0 (2,613,000)
Derivative Liabilities | Forward mortgage loan sale commitments    
Derivative, Fair Value, Net [Abstract]    
Fair Value   (1,000)
Notional Disclosures [Abstract]    
Notional   $ (1,343,000)