Quarterly report pursuant to Section 13 or 15(d)

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

v3.24.2.u1
FAIR VALUE HIERARCHY FOR INVESTMENTS—PORTFOLIO COMPOSITION - Schedule of Changes in Fair Value of Level 3 Portfolio Investments (Details) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Investments    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Beginning balance $ 4,286,271 $ 4,100,273
Transfers Into Level 3 Hierarchy 0 0
Redemptions/ Repayments (434,678) (456,249)
New Investments 822,792 427,160
Other 0 0
Ending balance 4,737,511 4,210,543
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 6,508 104,290
Investments | Net Unrealized Appreciation (Depreciation)    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 56,618 35,069
Debt    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Beginning balance 2,883,917 2,928,196
Transfers Into Level 3 Hierarchy 0 0
Redemptions/ Repayments (406,233) (421,050)
New Investments 753,750 376,859
Other 18,859 (29,746)
Ending balance 3,238,599 2,931,033
Debt | Net Changes from Unrealized to Realized    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 7,468 100,164
Debt | Net Unrealized Appreciation (Depreciation)    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings (19,162) (23,390)
Equity    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Beginning balance 1,395,744 1,166,643
Transfers Into Level 3 Hierarchy 0 0
Redemptions/ Repayments (28,445) (35,199)
New Investments 65,122 48,210
Other (18,859) 32,322
Ending balance 1,487,993 1,272,460
Equity | Net Changes from Unrealized to Realized    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings (960) 4,126
Equity | Net Unrealized Appreciation (Depreciation)    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 75,391 56,358
Equity Warrant    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Beginning balance 6,610 5,434
Transfers Into Level 3 Hierarchy 0 0
Redemptions/ Repayments 0 0
New Investments 3,920 2,091
Other 0 (2,576)
Ending balance 10,919 7,050
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 0 0
Equity Warrant | Net Unrealized Appreciation (Depreciation)    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings $ 389 $ 2,101