Quarterly report pursuant to Section 13 or 15(d)

FAIR VALUE MEASUREMENTS - Summary of Financial Assets Measured at Fair Value on Nonrecurring Basis (Details)

v3.23.1
FAIR VALUE MEASUREMENTS - Summary of Financial Assets Measured at Fair Value on Nonrecurring Basis (Details) - Non-Recurring Fair Value Measurements - USD ($)
$ in Thousands
Mar. 31, 2023
Dec. 31, 2022
Assets:    
Ginnie Mae loans subject to repurchase right $ 591,993 $ 650,179
Liabilities:    
Ginnie Mae loans subject to repurchase right 592,234 650,179
Ginnie Mae    
Assets:    
Ginnie Mae loans subject to repurchase right 591,993 650,179
Liabilities:    
Ginnie Mae loans subject to repurchase right 592,234 650,179
Level 1    
Assets:    
Ginnie Mae loans subject to repurchase right 0 0
Liabilities:    
Ginnie Mae loans subject to repurchase right 0 0
Level 1 | Ginnie Mae    
Assets:    
Ginnie Mae loans subject to repurchase right 0 0
Liabilities:    
Ginnie Mae loans subject to repurchase right 0 0
Level 2    
Assets:    
Ginnie Mae loans subject to repurchase right 591,993 650,179
Liabilities:    
Ginnie Mae loans subject to repurchase right 592,234 650,179
Level 2 | Ginnie Mae    
Assets:    
Ginnie Mae loans subject to repurchase right 591,993 650,179
Liabilities:    
Ginnie Mae loans subject to repurchase right 592,234 650,179
Level 3    
Assets:    
Ginnie Mae loans subject to repurchase right 0 0
Liabilities:    
Ginnie Mae loans subject to repurchase right 0 0
Level 3 | Ginnie Mae    
Assets:    
Ginnie Mae loans subject to repurchase right 0 0
Liabilities:    
Ginnie Mae loans subject to repurchase right $ 0 $ 0