Annual report pursuant to Section 13 and 15(d)

Fair Value Measurements - Summary of Financial Assets Measured at Fair Value on Nonrecurring Basis (Details)

v3.22.0.1
Fair Value Measurements - Summary of Financial Assets Measured at Fair Value on Nonrecurring Basis (Details) - Non-Recurring Fair Value Measurements - USD ($)
$ in Thousands
Dec. 31, 2021
Dec. 31, 2020
Assets:    
Ginnie Mae loans subject to repurchase right $ 728,978 $ 1,275,842
Liabilities:    
Ginnie Mae loans subject to repurchase right 729,260 1,277,026
Ginnie Mae    
Assets:    
Ginnie Mae loans subject to repurchase right 728,978 1,275,842
Liabilities:    
Ginnie Mae loans subject to repurchase right 729,260 1,277,026
Level 1    
Assets:    
Ginnie Mae loans subject to repurchase right 0 0
Liabilities:    
Ginnie Mae loans subject to repurchase right 0 0
Level 1 | Ginnie Mae    
Assets:    
Ginnie Mae loans subject to repurchase right 0 0
Liabilities:    
Ginnie Mae loans subject to repurchase right 0 0
Level 2    
Assets:    
Ginnie Mae loans subject to repurchase right 728,978 1,275,842
Liabilities:    
Ginnie Mae loans subject to repurchase right 729,260 1,277,026
Level 2 | Ginnie Mae    
Assets:    
Ginnie Mae loans subject to repurchase right 728,978 1,275,842
Liabilities:    
Ginnie Mae loans subject to repurchase right 729,260 1,277,026
Level 3    
Assets:    
Ginnie Mae loans subject to repurchase right 0 0
Liabilities:    
Ginnie Mae loans subject to repurchase right 0 0
Level 3 | Ginnie Mae    
Assets:    
Ginnie Mae loans subject to repurchase right 0 0
Liabilities:    
Ginnie Mae loans subject to repurchase right $ 0 $ 0