v3.25.2
Transactions with Related Parties - Summary of Transfer Cash to Fund Loan Servicing Advances (Detail) - USD ($)
$ in Thousands
Jun. 30, 2025
Dec. 31, 2024
Related Party Transaction [Line Items]    
Servicing advances $ 70,480 $ 105,037
Other assets-Real estate acquired in settlement of loans 1,729 2,464
PennyMac Loan Services, LLC [Member]    
Related Party Transaction [Line Items]    
Servicing advances 70,480 105,037
Other assets-Real estate acquired in settlement of loans 800 1,265
Servicing advances and real estate acquired $ 71,280 $ 106,302