Annual report pursuant to Section 13 and 15(d)

Investments - Schedule of Fair Value Portfolio of Investments by Asset Class (Details)

v3.22.4
Investments - Schedule of Fair Value Portfolio of Investments by Asset Class (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Schedule Of Investments [Line Items]    
Investments at Fair Value $ 2,963,955 $ 2,434,522
Investment Type Concentration Risk [Member] | Revenue Benchmark [Member]    
Schedule Of Investments [Line Items]    
Percentage of Total portfolio 100.00% 100.00%
Warrant Investment [Member]    
Schedule Of Investments [Line Items]    
Investments at Fair Value $ 30,646 $ 38,399
Warrant Investment [Member] | Warrant [Member]    
Schedule Of Investments [Line Items]    
Investments at Fair Value $ 30,646 $ 38,399
Warrant Investment [Member] | Warrant [Member] | Investment Type Concentration Risk [Member] | Revenue Benchmark [Member]    
Schedule Of Investments [Line Items]    
Percentage of Total portfolio 1.10% 1.60%
Investment Funds & Vehicles [Member]    
Schedule Of Investments [Line Items]    
Investments at Fair Value $ 3,893 $ 1,814
Investment Funds & Vehicles [Member] | Investment Type Concentration Risk [Member] | Revenue Benchmark [Member]    
Schedule Of Investments [Line Items]    
Percentage of Total portfolio 0.10% 0.10%
Equity Investments [Member]    
Schedule Of Investments [Line Items]    
Investments at Fair Value $ 133,972 $ 184,710
Equity Investments [Member] | Common Stock    
Schedule Of Investments [Line Items]    
Investments at Fair Value $ 92,484 $ 115,271
Equity Investments [Member] | Common Stock | Investment Type Concentration Risk [Member] | Revenue Benchmark [Member]    
Schedule Of Investments [Line Items]    
Percentage of Total portfolio 3.10% 4.70%
Equity Investments [Member] | Preferred Stock    
Schedule Of Investments [Line Items]    
Investments at Fair Value $ 41,488 $ 69,439
Equity Investments [Member] | Preferred Stock | Investment Type Concentration Risk [Member] | Revenue Benchmark [Member]    
Schedule Of Investments [Line Items]    
Percentage of Total portfolio 1.40% 2.80%
Unsecured [Member]    
Schedule Of Investments [Line Items]    
Investments at Fair Value $ 54,056 $ 52,890
Unsecured [Member] | Investment Type Concentration Risk [Member] | Revenue Benchmark [Member]    
Schedule Of Investments [Line Items]    
Percentage of Total portfolio 1.80% 2.20%
Senior Secured Debt    
Schedule Of Investments [Line Items]    
Investments at Fair Value $ 2,741,388 $ 2,156,709
Senior Secured Debt | Investment Type Concentration Risk [Member] | Revenue Benchmark [Member]    
Schedule Of Investments [Line Items]    
Percentage of Total portfolio 92.50% 88.60%