XML 80 R69.htm IDEA: XBRL DOCUMENT v3.23.1
Debt - Additional Information (Details)
$ / shares in Units, $ in Thousands
3 Months Ended 9 Months Ended
Feb. 04, 2022
USD ($)
Nov. 23, 2021
USD ($)
d
$ / shares
Mar. 31, 2023
USD ($)
Mar. 31, 2022
USD ($)
Mar. 31, 2023
USD ($)
Mar. 31, 2022
USD ($)
Jun. 30, 2022
USD ($)
May 16, 2022
USD ($)
Line of Credit Facility [Line Items]                
Loans held for investment     $ 3,775,542   $ 3,775,542   $ 2,503,561  
Gain on extinguishment of debt         $ 89,841 $ 0    
Fair value, liability, recurring basis, unobservable input reconciliation, gain (loss), statement of income or comprehensive income         Other income, net      
Remaining life         44 months      
Borrowings outstanding     $ 1,514,120   $ 1,514,120   672,577  
Repayments of Convertible Debt         $ 206,567 0    
2022-X1 | Senior Pledged Securities                
Line of Credit Facility [Line Items]                
Investment interest rate     6.68%   6.68%      
2022-X1 | Residual Certificate Pledged Securities                
Line of Credit Facility [Line Items]                
Investment interest rate     6.68%   6.68%      
Convertible Senior Notes                
Line of Credit Facility [Line Items]                
Interest expense     $ 1,000 $ 1,000 $ 3,100 $ 1,400    
Conversion ratio   0.0046371            
Convertible Senior Notes | Conversion Period One                
Line of Credit Facility [Line Items]                
Threshold trading days | d   20            
Threshold consecutive trading days | d   30            
Threshold percentage of stock price trigger   130.00%            
Redemption price (as a percentage)   100.00%            
Convertible Senior Notes | Conversion Period Two                
Line of Credit Facility [Line Items]                
Threshold consecutive trading days | d   5            
Minimum percentage of common stock price trigger   98.00%            
Funding debt | Warehouse Credit Facilities | Asset Pledged as Collateral                
Line of Credit Facility [Line Items]                
Loans held for investment     1,800,000   1,800,000   800,000  
Repurchase Agreement                
Line of Credit Facility [Line Items]                
Liability component of debt outstanding     17,500   17,500   27,000  
Repurchase Agreement | 2021-Z1 and 2021-Z2 | Other Receivables                
Line of Credit Facility [Line Items]                
Pledged securities     25,200   25,200   32,400  
Convertible Debt | Convertible Senior Notes                
Line of Credit Facility [Line Items]                
Funding debt     296,400   296,400      
Liability component of debt outstanding     1,413,345   1,413,345      
Securitization issued   $ 1,725,000 1,425,900   1,425,900      
Fixed interest rate   0.00%            
Proceeds from debt   $ 1,704,000            
Conversion price of redeemable convertible preferred stock (in USD per share) | $ / shares   $ 215.65            
Repurchased amount     299,100   299,100      
Gain on extinguishment of debt     89,800          
Repayments of Convertible Debt         206,600      
Revolving facilities                
Line of Credit Facility [Line Items]                
Aggregate commitment amount of credit facility $ 165,000             $ 205,000
Unused commitment fee percentage 0.20%              
Borrowings outstanding     0   0      
Revolving facilities | Fed Funds Effective Rate Overnight Index Swap Rate                
Line of Credit Facility [Line Items]                
Basis spread 0.50%              
Revolving facilities | One Month London Interbank Offered Rate (LIBOR)                
Line of Credit Facility [Line Items]                
Basis spread 1.00%              
Revolving facilities | Base Rate                
Line of Credit Facility [Line Items]                
Basis spread 0.85%              
Revolving facilities | Secured Overnight Financing Rate (SOFR)                
Line of Credit Facility [Line Items]                
Basis spread 1.85%              
Revolving facilities | Funding debt                
Line of Credit Facility [Line Items]                
Funding debt     1,527,919   1,527,919   683,395  
Liability component of debt outstanding     1,514,120   $ 1,514,120   $ 672,577  
Revolving facilities | Funding debt | Warehouse Credit Facilities                
Line of Credit Facility [Line Items]                
Covenant, period prior to final maturity date borrowings can occur         12 months      
Aggregate commitment amount of credit facility     4,000,000   $ 4,000,000      
Funding debt     1,500,000   1,500,000      
Remaining amount available of credit facility     $ 2,500,000   $ 2,500,000      
Minimum | Revolving facilities | Warehouse Credit Facilities                
Line of Credit Facility [Line Items]                
Unused commitment fee percentage         0.00%      
Minimum | Revolving facilities | Funding debt | Warehouse Credit Facilities                
Line of Credit Facility [Line Items]                
Advance rate percentage         82.00%      
Basis spread         1.25%      
Maximum | Revolving facilities | Warehouse Credit Facilities                
Line of Credit Facility [Line Items]                
Unused commitment fee percentage         0.75%      
Maximum | Revolving facilities | Funding debt | Warehouse Credit Facilities                
Line of Credit Facility [Line Items]                
Advance rate percentage         88.00%      
Basis spread         4.25%