XML 121 R106.htm IDEA: XBRL DOCUMENT v3.22.4
Net Gains on Loans Held for Sale (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Cash (losses) gains:      
Loans $ (2,128,195) $ 600,840 $ 2,025,260
Hedging activities 1,347,843 443,341 (767,588)
Cash gain (loss), net of effects of cash hedging, on sale of loans held for sale (780,352) 1,044,181 1,257,672
Non-cash gain:      
Mortgage servicing rights and mortgage servicing liabilities resulting from loan sales 1,718,094 1,755,318 1,114,720
Provision for losses relating to representations and warranties on loans sold pursuant to loan sales (9,617) (31,590) (21,035)
Provision for losses relating to representations and warranties on loans sold reduction in liability due to change in estimate 8,451 16,037 8,667
Change in fair value of loans and derivatives held at period end:      
Interest rate lock commitments (296,349) (354,833) 540,376
Loans 188,849 210,961 (326,986)
Hedging derivatives (20,879) (124,200) 116,690
Net gains on loans held for sale at fair value 791,633 2,464,401 2,740,785
PennyMac Mortgage Investment Trust      
Change in fair value of loans and derivatives held at period end:      
Net gains on loans held for sale at fair value (16,564) (51,473) 50,681
Non-affiliates      
Change in fair value of loans and derivatives held at period end:      
Net gains on loans held for sale at fair value $ 808,197 $ 2,515,874 $ 2,690,104