Quarterly report pursuant to Section 13 or 15(d)

Mortgage Loans Held for Sale, at Fair Value - Summary of Cash Flows between Transferor and Transferee Resulted from Sale of Mortgage Loans held for Sale (Detail)

v3.21.2
Mortgage Loans Held for Sale, at Fair Value - Summary of Cash Flows between Transferor and Transferee Resulted from Sale of Mortgage Loans held for Sale (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2021
Mar. 31, 2021
Jun. 30, 2020
Jun. 30, 2020
Cash Flows From Sale of Mortgage Loans Held For Sale [Line Items]        
Sales proceeds $ 5,181,557 $ 6,387,933 $ 2,631,554 $ 2,868,960
Fair value of retained beneficial interest 49,308 66,400 43,500 44,855
Gross servicing fees received 14,278 13,877 1,544 1,824
Repurchases (6,818) (4,144) (3,380) (8,547)
Gain $ 197,129 $ 284,948 $ 282,424 $ 291,671