v3.25.2
ALLOWANCE FOR RISK-SHARING OBLIGATIONS AND GUARANTY OBLIGATION - Summary of Allowance for Risk-Sharing Obligations (Detail)
$ in Thousands
3 Months Ended 6 Months Ended 12 Months Ended
Jun. 30, 2025
USD ($)
Jun. 30, 2024
USD ($)
Jun. 30, 2025
USD ($)
loan
Jun. 30, 2024
USD ($)
Dec. 31, 2024
USD ($)
loan
Allowance for Risk-Sharing Contracts          
Beginning balance $ 31,871 $ 30,124 $ 28,159 $ 31,601 $ 31,601
Provision (benefit) for risk-sharing obligations 1,320 353 5,032 (1,124)  
Ending balance 33,191 30,477 33,191 30,477 28,159
Amount of specific reserves placed on defaulted at risk loans 8,600   8,600   $ 4,000
Fannie Mae DUS program          
Allowance for Risk-Sharing Contracts          
Maximum quantifiable contingent liability associated with guarantees $ 13,400,000 $ 12,200,000 $ 13,400,000 $ 12,200,000  
Fannie Mae DUS program          
Allowance for Risk-Sharing Contracts          
Number of defaulted loans | loan     5   3
Weighted average remaining life of the at risk servicing portfolio     5 years 4 months 24 days   5 years 8 months 12 days
Freddie Mac          
Allowance for Risk-Sharing Contracts          
Number of defaulted loans | loan     3   3