Quarterly report pursuant to Section 13 or 15(d)

Fair Value of Financial Instruments - Schedule of Quantitative Information of Fair Value Measurements (Details)

v3.24.2.u1
Fair Value of Financial Instruments - Schedule of Quantitative Information of Fair Value Measurements (Details) - Significant Unobservable Inputs (Level 3)
$ in Thousands
Jun. 30, 2024
USD ($)
Dec. 31, 2023
USD ($)
Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investments $ 3,392,509 $ 3,057,299
Equity and Warrant Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investments 109,638 116,916
Debt Investments and Other Investment Receivables    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investments 3,394,196 3,066,947
Market Comparable Companies | Equity Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investments 44,149 52,094
Market Comparable Companies | Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investments 14,837 19,014
Market Comparable Companies | Pharmaceuticals | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investments 1,176,486 971,775
Market Comparable Companies | Technology | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investments 987,037 1,181,823
Market Comparable Companies | Sustainable and Renewable Technology | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investments 1,457 1,678
Market Comparable Companies | Medical Devices | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investments 30,761  
Market Comparable Companies | Lower Middle Market | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investments $ 436,935 $ 322,162
Market Comparable Companies | Minimum | Hypothetical Market Yield | Pharmaceuticals | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.1036 0.1091
Market Comparable Companies | Minimum | Hypothetical Market Yield | Technology | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.1037 0.1130
Market Comparable Companies | Minimum | Hypothetical Market Yield | Sustainable and Renewable Technology | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.1172 0.1075
Market Comparable Companies | Minimum | Hypothetical Market Yield | Medical Devices | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.1260  
Market Comparable Companies | Minimum | Hypothetical Market Yield | Lower Middle Market | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.1075 0.1254
Market Comparable Companies | Minimum | Premium/(Discount) | Pharmaceuticals | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input (0.0200) (0.0100)
Market Comparable Companies | Minimum | Premium/(Discount) | Technology | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input (0.0100) (0.0100)
Market Comparable Companies | Minimum | Premium/(Discount) | Sustainable and Renewable Technology | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.0200 0.0075
Market Comparable Companies | Minimum | Premium/(Discount) | Medical Devices | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.0050  
Market Comparable Companies | Minimum | Premium/(Discount) | Lower Middle Market | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.0000 (0.0075)
Market Comparable Companies | Minimum | EBITDA Multiple | Equity Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input   12.3
Market Comparable Companies | Minimum | EBITDA Multiple | Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input   12.3
Market Comparable Companies | Minimum | Revenue Multiple | Equity Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.3 0.3
Market Comparable Companies | Minimum | Revenue Multiple | Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.9 0.9
Market Comparable Companies | Minimum | Tangible Book Value Multiple | Equity Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 1.5 1.8
Market Comparable Companies | Minimum | Discount for Lack of Marketability | Equity Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.1060 0.0711
Market Comparable Companies | Minimum | Discount for Lack of Marketability | Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.1016 0.0621
Market Comparable Companies | Maximum | Hypothetical Market Yield | Pharmaceuticals | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.1858 0.2143
Market Comparable Companies | Maximum | Hypothetical Market Yield | Technology | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.1845 0.2074
Market Comparable Companies | Maximum | Hypothetical Market Yield | Sustainable and Renewable Technology | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.1172 0.1075
Market Comparable Companies | Maximum | Hypothetical Market Yield | Medical Devices | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.1260  
Market Comparable Companies | Maximum | Hypothetical Market Yield | Lower Middle Market | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.1907 0.2015
Market Comparable Companies | Maximum | Premium/(Discount) | Pharmaceuticals | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.0425 0.0350
Market Comparable Companies | Maximum | Premium/(Discount) | Technology | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.0325 0.0500
Market Comparable Companies | Maximum | Premium/(Discount) | Sustainable and Renewable Technology | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.0200 0.0075
Market Comparable Companies | Maximum | Premium/(Discount) | Medical Devices | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.0050  
Market Comparable Companies | Maximum | Premium/(Discount) | Lower Middle Market | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.0300 0.0225
Market Comparable Companies | Maximum | EBITDA Multiple | Equity Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input   12.3
Market Comparable Companies | Maximum | EBITDA Multiple | Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input   12.3
Market Comparable Companies | Maximum | Revenue Multiple | Equity Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 16.2 20.1
Market Comparable Companies | Maximum | Revenue Multiple | Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 11.3 10.2
Market Comparable Companies | Maximum | Tangible Book Value Multiple | Equity Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 1.5 1.8
Market Comparable Companies | Maximum | Discount for Lack of Marketability | Equity Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.9258 0.9272
Market Comparable Companies | Maximum | Discount for Lack of Marketability | Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.3296 0.3312
Market Comparable Companies | Weighted Average | Hypothetical Market Yield | Pharmaceuticals | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.1320 0.1346
Market Comparable Companies | Weighted Average | Hypothetical Market Yield | Technology | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.1348 0.1503
Market Comparable Companies | Weighted Average | Hypothetical Market Yield | Sustainable and Renewable Technology | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.1172 0.1075
Market Comparable Companies | Weighted Average | Hypothetical Market Yield | Medical Devices | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.1260  
Market Comparable Companies | Weighted Average | Hypothetical Market Yield | Lower Middle Market | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.1400 0.1413
Market Comparable Companies | Weighted Average | Premium/(Discount) | Pharmaceuticals | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.0005 0.0004
Market Comparable Companies | Weighted Average | Premium/(Discount) | Technology | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.0033 0.0047
Market Comparable Companies | Weighted Average | Premium/(Discount) | Sustainable and Renewable Technology | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.0200 0.0075
Market Comparable Companies | Weighted Average | Premium/(Discount) | Medical Devices | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.0050  
Market Comparable Companies | Weighted Average | Premium/(Discount) | Lower Middle Market | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.0090 0.0056
Market Comparable Companies | Weighted Average | EBITDA Multiple | Equity Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input   12.3
Market Comparable Companies | Weighted Average | EBITDA Multiple | Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input   12.3
Market Comparable Companies | Weighted Average | Revenue Multiple | Equity Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 13.2 7.2
Market Comparable Companies | Weighted Average | Revenue Multiple | Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 4.5 4.2
Market Comparable Companies | Weighted Average | Tangible Book Value Multiple | Equity Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 1.5 1.8
Market Comparable Companies | Weighted Average | Discount for Lack of Marketability | Equity Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.3454 0.3157
Market Comparable Companies | Weighted Average | Discount for Lack of Marketability | Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.2455 0.2170
Liquidation | Pharmaceuticals | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investments   $ 8,455
Liquidation | Technology | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investments $ 62,155 0
Liquidation | Other Investment Receivable | Other Investment Receivables    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investments $ 1,687 $ 9,648
Liquidation | Minimum | Probability weighting of alternative outcomes | Pharmaceuticals | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input   0.1000
Liquidation | Minimum | Probability weighting of alternative outcomes | Technology | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.2000 1.0000
Liquidation | Minimum | Probability weighting of alternative outcomes | Other Investment Receivable | Other Investment Receivables    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.1000 0.1000
Liquidation | Maximum | Probability weighting of alternative outcomes | Pharmaceuticals | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input   0.5000
Liquidation | Maximum | Probability weighting of alternative outcomes | Technology | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 1.0000 1.0000
Liquidation | Maximum | Probability weighting of alternative outcomes | Other Investment Receivable | Other Investment Receivables    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.5000 0.5000
Liquidation | Weighted Average | Probability weighting of alternative outcomes | Pharmaceuticals | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input   0.4183
Liquidation | Weighted Average | Probability weighting of alternative outcomes | Technology | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.6667 1.0000
Liquidation | Weighted Average | Probability weighting of alternative outcomes | Other Investment Receivable | Other Investment Receivables    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.4020 0.4183
Convertible Note Analysis | Technology | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investments $ 24,820 $ 23,244
Convertible Note Analysis | Minimum | Probability weighting of alternative outcomes | Technology | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.0100 0.0100
Convertible Note Analysis | Maximum | Probability weighting of alternative outcomes | Technology | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.7000 0.5000
Convertible Note Analysis | Weighted Average | Probability weighting of alternative outcomes | Technology | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.5012 0.3932
Market Adjusted OPM Backsolve | Equity Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investments $ 10,845 $ 11,096
Market Adjusted OPM Backsolve | Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investments $ 2,831 $ 3,074
Market Adjusted OPM Backsolve | Minimum | Market Equity Adjustment | Equity Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input (0.9062) (0.8614)
Market Adjusted OPM Backsolve | Minimum | Market Equity Adjustment | Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input (0.4475) (0.7067)
Market Adjusted OPM Backsolve | Maximum | Market Equity Adjustment | Equity Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.0458 0.3269
Market Adjusted OPM Backsolve | Maximum | Market Equity Adjustment | Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.4634 0.3486
Market Adjusted OPM Backsolve | Weighted Average | Market Equity Adjustment | Equity Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input (0.0931) 0.0747
Market Adjusted OPM Backsolve | Weighted Average | Market Equity Adjustment | Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input (0.0296) 0.1317
Discounted Cash Flow | Equity Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investments $ 32,417 $ 28,713
Discounted Cash Flow | Minimum | Discount Rate | Equity Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.1293 0.1988
Discounted Cash Flow | Maximum | Discount Rate | Equity Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.3353 0.3197
Discounted Cash Flow | Weighted Average | Discount Rate | Equity Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investment company, investment owned, measurement input 0.3077 0.3051
Other | Equity Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investments $ 4,559 $ 2,925
Other | Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investments   0
Debt Investments originated within 6 months | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investments 554,672 431,512
Imminent Payoffs | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investments 46,525 54,430
Debt Investments Maturing in Less than One Year | Debt Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]    
Investments $ 71,661 $ 62,220