Quarterly report pursuant to Section 13 or 15(d)

Warehouse Lines of Credit - Summary of Warehouse Lines of Credit (Details)

v3.22.1
Warehouse Lines of Credit - Summary of Warehouse Lines of Credit (Details) - Warehouse Agreement Borrowings - Line of Credit - USD ($)
3 Months Ended
Mar. 31, 2022
Dec. 31, 2021
Warehouse Lines of Credit [Line Items]    
Warehouse lines of credit $ 1,157,913,000 $ 1,928,543,000
Prepaid commitment fees (1,084,000) (1,065,000)
Total 1,156,829,000 1,927,478,000
$600 Million Master Repurchase Facility Agreement Due January 2023    
Warehouse Lines of Credit [Line Items]    
Borrowing capacity 600,000,000  
Warehouse lines of credit 141,484,000 472,646,000
$250 Million Master Repurchase Facility Agreement Due August 2022    
Warehouse Lines of Credit [Line Items]    
Borrowing capacity 250,000,000  
Warehouse lines of credit 74,647,000 147,750,000
Minimum deposit required for line of credit 1,250,000  
$400 Million Master Repurchase Facility Agreement Due March 2023    
Warehouse Lines of Credit [Line Items]    
Borrowing capacity 400,000,000  
Warehouse lines of credit 363,979,000 295,444,000
Minimum deposit required for line of credit 2,000,000  
$200 Million Master Repurchase Facility Agreement Due June 2022    
Warehouse Lines of Credit [Line Items]    
Borrowing capacity 200,000,000  
Warehouse lines of credit 4,046,000 146,182,000
Minimum deposit required for line of credit $ 750,000  
$200 Million Master Repurchase Facility Agreement Due June 2022 | LIBOR    
Warehouse Lines of Credit [Line Items]    
Line of credit, floor interest rate 0.375%  
$300 Million Master Repurchase Facility Agreement Due September 2022    
Warehouse Lines of Credit [Line Items]    
Borrowing capacity $ 300,000,000  
Warehouse lines of credit $ 130,425,000 133,772,000
$300 Million Master Repurchase Facility Agreement Due September 2022 | SOFR    
Warehouse Lines of Credit [Line Items]    
Line of credit, floor interest rate 0.40%  
$500 Million Master Repurchase Facility Agreement Due July 2022    
Warehouse Lines of Credit [Line Items]    
Borrowing capacity $ 500,000,000  
Warehouse lines of credit $ 223,188,000 377,416,000
$500 Million Master Repurchase Facility Agreement Due July 2022 | LIBOR    
Warehouse Lines of Credit [Line Items]    
Line of credit, floor interest rate 0.50%  
$200 Million Master Repurchase Facility Agreement Due April 2023    
Warehouse Lines of Credit [Line Items]    
Borrowing capacity $ 200,000,000  
Warehouse lines of credit $ 71,126,000 117,935,000
$200 Million Master Repurchase Facility Agreement Due April 2023 | SOFR    
Warehouse Lines of Credit [Line Items]    
Line of credit, floor interest rate 0.25%  
$250 Million Master Repurchase Facility Agreement Due 30 Days From Written Notice    
Warehouse Lines of Credit [Line Items]    
Borrowing capacity $ 250,000,000  
Warehouse lines of credit $ 94,044,000 136,173,000
Maturity, period from written notice 30 days  
$75 Million Master Repurchase Facility Agreement Due March 2025    
Warehouse Lines of Credit [Line Items]    
Borrowing capacity $ 75,000,000  
Warehouse lines of credit $ 25,047,000 33,452,000
Stated interest rate 3.375%  
Maximum term of buyout transactions on facility 4 years  
$200 Million Master Repurchase Facility Agreement    
Warehouse Lines of Credit [Line Items]    
Borrowing capacity $ 200,000,000  
Warehouse lines of credit 0 26,947,000
$300 Million Master Repurchase Facility Agreement    
Warehouse Lines of Credit [Line Items]    
Borrowing capacity 300,000,000  
Warehouse lines of credit $ 29,927,000 35,099,000
$300 Million Master Repurchase Facility Agreement | SOFR    
Warehouse Lines of Credit [Line Items]    
Line of credit, floor interest rate 0.75%  
$75 Million Master Repurchase Facility Agreement    
Warehouse Lines of Credit [Line Items]    
Borrowing capacity $ 75,000,000  
Warehouse lines of credit $ 0 $ 5,727,000