Quarterly report pursuant to Section 13 or 15(d)

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

v3.23.2
FAIR VALUE HIERARCHY FOR INVESTMENTS—PORTFOLIO COMPOSITION - Changes in Fair Value of Level 3 Portfolio Investments (Details) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Investments    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Beginning balance $ 4,100,273 $ 3,559,837
Transfers Into Level 3 Hierarchy 0 0
Redemptions/ Repayments (456,249) (378,653)
New Investments 427,160 542,810
Other 0 0
Ending balance 4,210,543 3,715,909
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 104,290 1,679
Investments | Net Unrealized Appreciation (Depreciation)    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 35,069 (9,764)
Debt    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Beginning balance 2,928,196 2,509,568
Transfers Into Level 3 Hierarchy 0 0
Redemptions/ Repayments (421,050) (351,315)
New Investments 376,859 508,045
Other (29,746) (1,333)
Ending balance 2,931,033 2,608,016
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 100,164 3,656
Debt | Net Unrealized Appreciation (Depreciation)    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings (23,390) (60,605)
Equity    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Beginning balance 1,166,643 1,043,709
Transfers Into Level 3 Hierarchy 0 0
Redemptions/ Repayments (35,199) (27,338)
New Investments 48,210 34,765
Other 32,322 1,333
Ending balance 1,272,460 1,101,943
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 4,126 (1,977)
Equity | Net Unrealized Appreciation (Depreciation)    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Gain (loss) included in earnings 56,358 51,451
Equity Warrant    
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Beginning balance 5,434 6,560
Transfers Into Level 3 Hierarchy 0 0
Redemptions/ Repayments 0 0
New Investments 2,091 0
Other (2,576) 0
Ending balance 7,050 5,950
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 $ 2,101 $ (610)