Annual report pursuant to Section 13 and 15(d)

FAIR VALUE HIERARCHY FOR INVESTMENTS???PORTFOLIO COMPOSITION - Schedule of Level??3 Portfolio Investments (Details)

v3.24.0.1
FAIR VALUE HIERARCHY FOR INVESTMENTS—PORTFOLIO COMPOSITION - Schedule of Level 3 Portfolio Investments (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Investments    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Beginning balance $ 1,068,143 $ 1,077,136
Transfers Into Level 3 Hierarchy 0 0
Redemptions/ Repayments (269,130) (227,760)
New Investments 247,563 220,470
Other 0 0
Ending balance 1,092,895 1,068,143
Investments | Net Changes from Unrealized to Realized    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 34,285 3,303
Investments | Net Unrealized Appreciation (Depreciation)    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 12,034 (5,006)
Debt investments    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Beginning balance 852,282 879,970
Transfers Into Level 3 Hierarchy 0 0
Redemptions/ Repayments (253,517) (205,481)
New Investments 230,663 211,631
Other (18,914) (1,736)
Ending balance 838,125 852,282
Debt investments | Net Changes from Unrealized to Realized    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 33,078 10,645
Debt investments | Net Unrealized Appreciation (Depreciation)    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings (5,467) (42,747)
Equity investments    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Beginning balance 214,687 196,374
Transfers Into Level 3 Hierarchy 0 0
Redemptions/ Repayments (15,329) (22,234)
New Investments 16,377 7,728
Other 20,019 1,736
Ending balance 254,029 214,687
Equity investments | Net Changes from Unrealized to Realized    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 923 (7,037)
Equity investments | Net Unrealized Appreciation (Depreciation)    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 17,352 38,120
Equity Warrant    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Beginning balance 1,174 792
Transfers Into Level 3 Hierarchy 0 0
Redemptions/ Repayments (284) (45)
New Investments 523 1,111
Other (1,105) 0
Ending balance 741 1,174
Equity Warrant | Net Changes from Unrealized to Realized    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 284 (305)
Equity Warrant | Net Unrealized Appreciation (Depreciation)    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings $ 149 $ (379)