Quarterly report pursuant to Section 13 or 15(d)

Indebtedness - Additional Information (Details)

v3.21.2
Indebtedness - Additional Information (Details)
$ / shares in Units, $ in Thousands, shares in Millions
6 Months Ended
Jun. 30, 2021
USD ($)
$ / shares
shares
Dec. 31, 2020
USD ($)
$ / shares
Debt Instrument [Line Items]    
Common stock, par value (in usd per share) | $ / shares $ 0.0001 $ 0.0001
Recourse debt    
Debt Instrument [Line Items]    
Loan outstanding balance $ 606,766 $ 230,660
Non-recourse debt    
Debt Instrument [Line Items]    
Loan outstanding balance 5,002,792 $ 4,565,485
Bank Line Of Credit | Recourse debt    
Debt Instrument [Line Items]    
Secured borrowings assets carrying amount 250,000  
Minimum unencumbered liquid assets to be maintained 25,000  
Minimum required quarter-end unencumbered cash balance $ 35,000  
Interest coverage ratio 350.00%  
Bank Line Of Credit | Recourse debt | LIBOR    
Debt Instrument [Line Items]    
Interest rate during period 3.25%  
Bank Line Of Credit | Recourse debt | Base Rate    
Debt Instrument [Line Items]    
Interest rate 2.25%  
Bank Line Of Credit | Recourse debt | Federal Funds Rate    
Debt Instrument [Line Items]    
Interest rate 0.50%  
Bank Line Of Credit | Recourse debt | Prime Rate    
Debt Instrument [Line Items]    
Interest rate 1.00%  
Convertible Senior Notes Due 2026 | Recourse debt    
Debt Instrument [Line Items]    
Interest rate during period 0.00%  
Convertible Senior Notes Due 2026 | Convertible Debt    
Debt Instrument [Line Items]    
Initial conversion rate 0.0084807  
Common stock, par value (in usd per share) | $ / shares $ 0.0001  
Conversion price (in usd per share) | $ / shares $ 117.91  
Debt discount amortized $ 900  
Effective interest rate 0.57%  
Convertible Senior Notes Due 2026 | Convertible Debt | Capped Call    
Debt Instrument [Line Items]    
Conversion price (in usd per share) | $ / shares $ 157.22  
Payments for capped call transaction $ 28,000  
Capped call price per share (in dollars per share) | $ / shares $ 117.91  
Number of shares covered by capped calls (in shares) | shares 3.4  
Senior revolving and delayed draw loans | Non-recourse debt    
Debt Instrument [Line Items]    
Aggregate principal amount $ 1,700,000  
Senior revolving and delayed draw loans | Non-recourse debt | Revolving loan    
Debt Instrument [Line Items]    
Aggregate principal amount 100,000  
Minimum required fiscal unencumbered cash balance $ 30,000  
Senior Revolving and Delayed Draw Loans, Base Rate Loans | Non-recourse debt | LIBOR | Revolving loan    
Debt Instrument [Line Items]    
Basis spread on variable rate 1.00%  
Senior Revolving and Delayed Draw Loans, Base Rate Loans | Non-recourse debt | Base Rate | Revolving loan    
Debt Instrument [Line Items]    
Basis spread on variable rate 2.25%  
Senior Revolving and Delayed Draw Loans, Base Rate Loans | Non-recourse debt | Federal Funds Rate | Revolving loan    
Debt Instrument [Line Items]    
Basis spread on variable rate 0.50%  
Senior Revolving and Delayed Draw Loans, Base Rate Loans | Non-recourse debt | LIBOR Floor Rate | Revolving loan    
Debt Instrument [Line Items]    
Basis spread on variable rate 0.00%  
Senior Revolving and Delayed Draw Loans, LIBOR Loans | Non-recourse debt | LIBOR | Revolving loan    
Debt Instrument [Line Items]    
Basis spread on variable rate 3.25%  
Senior Revolving and Delayed Draw Loans, LIBOR Loans | Non-recourse debt | LIBOR Floor Rate | Revolving loan    
Debt Instrument [Line Items]    
Basis spread on variable rate 0.00%  
Subordinated Loans | Non-recourse debt    
Debt Instrument [Line Items]    
Loan outstanding balance $ 124,200