v3.26.1
DERIVATIVE FINANCIAL INSTRUMENTS AND HEDGING ACTIVITIES - Realized and Unrealized Gains on Derivatives (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2026
Jun. 30, 2025
Derivative Instruments, Gain (Loss) [Line Items]        
Total realized and unrealized (losses) gains on derivative financial instruments $ (2,356) $ (2,264) $ 13,505 $ 7,239
Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] Changes in fair value of servicing rights, net, Gain on origination and sale of loans, net Changes in fair value of servicing rights, net, Gain on origination and sale of loans, net    
Interest rate lock commitments        
Derivative Instruments, Gain (Loss) [Line Items]        
Total realized and unrealized (losses) gains on derivative financial instruments $ 8,192 $ 8,394 4,928 28,813
Income Statement Location [Axis]: ldi:ChangesInFairValueOfServicingRightsNet | Forward sale contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Total realized and unrealized (losses) gains on derivative financial instruments (2,066) (396) (9,626) 4,307
Income Statement Location [Axis]: ldi:ChangesInFairValueOfServicingRightsNet | Interest rate swap futures        
Derivative Instruments, Gain (Loss) [Line Items]        
Total realized and unrealized (losses) gains on derivative financial instruments (4,686) (5,651) (8,415) 6,984
Income Statement Location [Axis]: ldi:ChangesInFairValueOfServicingRightsNet | Put options        
Derivative Instruments, Gain (Loss) [Line Items]        
Total realized and unrealized (losses) gains on derivative financial instruments 433 (3,517) (700) (2,052)
Income Statement Location [Axis]: ldi:GainOnOriginationAndSaleOfLoansNet | Forward sale contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Total realized and unrealized (losses) gains on derivative financial instruments (4,465) (1,247) 20,836 (28,078)
Income Statement Location [Axis]: ldi:GainOnOriginationAndSaleOfLoansNet | Interest rate swap futures        
Derivative Instruments, Gain (Loss) [Line Items]        
Total realized and unrealized (losses) gains on derivative financial instruments 2,006 (10,756) 5,642 (18,159)
Income Statement Location [Axis]: ldi:GainOnOriginationAndSaleOfLoansNet | Put options        
Derivative Instruments, Gain (Loss) [Line Items]        
Total realized and unrealized (losses) gains on derivative financial instruments $ (1,770) $ 10,909 $ 840 $ 15,424