Quarterly report pursuant to Section 13 or 15(d)

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

v3.21.2
Warehouse Lines of Credit - Summary of Warehouse Lines of Credit (Details) - Warehouse Agreement Borrowings - Line of Credit - USD ($)
1 Months Ended 6 Months Ended
Feb. 28, 2021
Jun. 30, 2021
Aug. 13, 2021
Dec. 31, 2020
Warehouse Lines of Credit [Line Items]        
Warehouse lines of credit   $ 1,885,322,000   $ 2,145,584,000
Prepaid commitment fees   (1,657,000)   (2,141,000)
Total   1,883,665,000   2,143,443,000
$800 Million Master Repurchase Facility Agreement Due January 2022        
Warehouse Lines of Credit [Line Items]        
Borrowing capacity   800,000,000    
Warehouse lines of credit   $ 246,639,000   442,593,000
Line of credit, floor interest rate   0.75%    
$250 Million Master Repurchase Facility Agreement Due September 2021        
Warehouse Lines of Credit [Line Items]        
Borrowing capacity   $ 250,000,000    
Warehouse lines of credit   152,254,000   148,011,000
Minimum deposit required for line of credit   1,250,000    
$500 Million Master Repurchase Facility Agreement Due February 2022        
Warehouse Lines of Credit [Line Items]        
Borrowing capacity   500,000,000    
Warehouse lines of credit   445,947,000   541,074,000
Minimum deposit required for line of credit $ 2,500,000      
$200 Million Master Repurchase Facility Agreement Due June 2021        
Warehouse Lines of Credit [Line Items]        
Borrowing capacity   200,000,000    
Warehouse lines of credit   118,922,000   187,214,000
Minimum deposit required for line of credit   $ 750,000    
$200 Million Master Repurchase Facility Agreement Due June 2021 | LIBOR        
Warehouse Lines of Credit [Line Items]        
Line of credit, floor interest rate   1.525%    
$300 Million Master Repurchase Facility Agreement Due September 2021        
Warehouse Lines of Credit [Line Items]        
Borrowing capacity   $ 300,000,000    
Warehouse lines of credit   $ 278,544,000   232,272,000
$300 Million Master Repurchase Facility Agreement Due September 2021 | LIBOR        
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   $ 413,790,000   464,355,000
$500 Million Master Repurchase Facility Agreement Due July 2022 | LIBOR        
Warehouse Lines of Credit [Line Items]        
Line of credit, floor interest rate   0.75%    
$500 Million Master Repurchase Facility Agreement Due July 2022 | LIBOR | Subsequent Event        
Warehouse Lines of Credit [Line Items]        
Line of credit, floor interest rate     0.50%  
$200 Million Master Repurchase Facility Agreement Due April 2022        
Warehouse Lines of Credit [Line Items]        
Borrowing capacity   $ 200,000,000    
Warehouse lines of credit   $ 89,340,000   104,880,000
Line of credit, floor interest rate   1.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   $ 96,805,000   0
Maturity, period from written notice   30 days    
$75 Million Master Repurchase Facility Agreement Due March 2024        
Warehouse Lines of Credit [Line Items]        
Borrowing capacity   $ 75,000,000    
Warehouse lines of credit   $ 43,081,000   $ 25,185,000
Stated interest rate   3.375%    
Maximum term of buyout transactions on facility   4 years