v3.25.2
Derivative and Credit Risk Transfer Strip Assets and Liabilities - Net Gains (Losses) Recognized on Derivative Financial Instruments (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2025
Jun. 30, 2024
Interest Rate Lock Commitments [Member]        
Derivative Instruments Gain Loss [Line Items]        
Net gains on derivative financial instruments used as economic hedges $ 2,904 $ (3,292) $ 7,078 $ (5,980)
Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] Gain (Loss) on Sales of Loans, Net Gain (Loss) on Sales of Loans, Net Gain (Loss) on Sales of Loans, Net Gain (Loss) on Sales of Loans, Net
Interest rate lock commitments and loans acquired for sale [Member]        
Derivative Instruments Gain Loss [Line Items]        
Net gains on derivative financial instruments used as economic hedges $ (12,338) $ 7,163 $ (38,697) $ 9,773
Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] Gain (Loss) on Sales of Loans, Net Gain (Loss) on Sales of Loans, Net Gain (Loss) on Sales of Loans, Net Gain (Loss) on Sales of Loans, Net
Mortgage service rights [Member]        
Derivative Instruments Gain Loss [Line Items]        
Net gains on derivative financial instruments used as economic hedges $ (60,637) $ (18,365) $ (100,581) $ (108,179)
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 Contractually Specified Servicing Fee, Late Fee, and Ancillary Fee Earned in Exchange for Servicing Financial Asset Contractually Specified Servicing Fee, Late Fee, and Ancillary Fee Earned in Exchange for Servicing Financial Asset Contractually Specified Servicing Fee, Late Fee, and Ancillary Fee Earned in Exchange for Servicing Financial Asset
Assets Sold Under Agreements to Repurchase [Member]        
Derivative Instruments Gain Loss [Line Items]        
Net gains on derivative financial instruments used as economic hedges $ 0 $ 0 $ 0 $ 20,098
Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] Gain Loss On Investments And Financings Gain Loss On Investments And Financings Gain Loss On Investments And Financings Gain Loss On Investments And Financings
CRT Derivatives [Member]        
Derivative Instruments Gain Loss [Line Items]        
Net gains on derivative financial instruments used as economic hedges $ 5,375 $ 5,039 $ 7,355 $ 15,229
Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] Gain Loss On Investments And Financings Gain Loss On Investments And Financings Gain Loss On Investments And Financings Gain Loss On Investments And Financings