Quarterly report pursuant to Section 13 or 15(d)

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

v3.21.2
Fair Value Measurements - Summary of Financial Assets Measured at Fair Value on Nonrecurring Basis (Details) - Non-Recurring Fair Value Measurements - USD ($)
$ in Thousands
Jun. 30, 2021
Dec. 31, 2020
Assets:    
Ginnie Mae loans subject to repurchase right $ 1,037,266 $ 1,275,842
Liabilities:    
Ginnie Mae loans subject to repurchase right 1,037,640 1,277,026
Ginnie Mae    
Assets:    
Ginnie Mae loans subject to repurchase right 1,037,266 1,275,842
Liabilities:    
Ginnie Mae loans subject to repurchase right 1,037,640 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 1,037,266 1,275,842
Liabilities:    
Ginnie Mae loans subject to repurchase right 1,037,640 1,277,026
Level 2 | Ginnie Mae    
Assets:    
Ginnie Mae loans subject to repurchase right 1,037,266 1,275,842
Liabilities:    
Ginnie Mae loans subject to repurchase right 1,037,640 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