Annual report pursuant to Section 13 and 15(d)

Loans Held for Sale, at Fair Value - Schedule of Mortgage Loans Held For Sale, At Fair Value (Detail)

v3.22.4
Loans Held for Sale, at Fair Value - Schedule of Mortgage Loans Held For Sale, At Fair Value (Detail) - USD ($)
$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Fair value adjustments $ (24,541) $ 47,127
Total loans held for sale, at fair value 315,978 2,052,378
Residential mortgage loans    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Loans held for sale - UPB 167,407 1,859,788
Commercial mortgage loans    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Loans held for sale - UPB $ 173,112 $ 145,463