Investment Valuations and Fair Value Measurements - Reconciliation of Beginning and Ending Balances for Total Investments (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2026 |
Jun. 30, 2025 |
|
| Investment Valuations And Fair Value Measurements [Line Items] | ||||
| Net change in unrealized appreciation/(depreciation) | $ (29,180) | $ 21,029 | ||
| Level 3 | ||||
| Investment Valuations And Fair Value Measurements [Line Items] | ||||
| Beginning Balance | $ 1,309,653 | $ 1,099,126 | 1,209,788 | 942,127 |
| Purchases, including payments received in-kind | 52,814 | 264,705 | 286,290 | 440,331 |
| Sales and paydowns of investments | (61,732) | (106,170) | (196,976) | (121,706) |
| Investments transferred pursuant to Exchange Offer | (661,256) | (661,256) | ||
| Amortization of premium and accretion of discount, net | $ 1,485 | $ 2,267 | $ 3,569 | 3,703 |
| Fair Value, Asset, Recurring Basis, Unobservable Input Reconciliation, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] | Realized Gain (Loss), Investment and Derivative, Operating, before Tax | Realized Gain (Loss), Investment and Derivative, Operating, before Tax | Realized Gain (Loss), Investment and Derivative, Operating, before Tax | |
| Net realized (loss) gain | $ (11,270) | $ (75) | $ (11,203) | |
| Net change in unrealized appreciation/(depreciation) | $ (11,333) | $ (16,392) | $ (11,851) | $ (20,919) |
| Fair Value, Asset, Recurring Basis, Unobservable Input Reconciliation, Asset, Gain (Loss), Statement of Other Comprehensive Income or Comprehensive Income [Extensible Enumeration] | Net change in unrealized appreciation/(depreciation) | Net change in unrealized appreciation/(depreciation) | Net change in unrealized appreciation/(depreciation) | Net change in unrealized appreciation/(depreciation) |
| Ending Balance | $ 618,361 | $ 1,243,461 | $ 618,361 | $ 1,243,461 |
| Change in net unrealized appreciation/(depreciation) in investments held | $ (25,171) | $ (15,511) | $ (19,743) | $ (20,039) |
| Fair Value, Asset, Recurring Basis, Still Held, Unrealized Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] | Gain (Loss), Investment and Derivative, Operating, before Tax | Gain (Loss), Investment and Derivative, Operating, before Tax | Gain (Loss), Investment and Derivative, Operating, before Tax | Gain (Loss), Investment and Derivative, Operating, before Tax |
| Level 3 | Debt | ||||
| Investment Valuations And Fair Value Measurements [Line Items] | ||||
| Beginning Balance | $ 1,263,318 | $ 1,097,095 | $ 1,169,913 | $ 941,903 |
| Purchases, including payments received in-kind | 52,814 | 263,529 | 285,933 | 438,398 |
| Sales and paydowns of investments | (60,950) | (105,893) | (195,837) | (121,305) |
| Investments transferred pursuant to Exchange Offer | (637,861) | (637,861) | ||
| Amortization of premium and accretion of discount, net | $ 1,485 | $ 2,267 | $ 3,569 | 3,703 |
| Fair Value, Asset, Recurring Basis, Unobservable Input Reconciliation, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] | Realized Gain (Loss), Investment and Derivative, Operating, before Tax | Realized Gain (Loss), Investment and Derivative, Operating, before Tax | Realized Gain (Loss), Investment and Derivative, Operating, before Tax | |
| Net realized (loss) gain | $ (25,828) | $ (75) | $ (25,761) | |
| Net change in unrealized appreciation/(depreciation) | $ 20,367 | $ (22,002) | $ 13,389 | $ (27,703) |
| Fair Value, Asset, Recurring Basis, Unobservable Input Reconciliation, Asset, Gain (Loss), Statement of Other Comprehensive Income or Comprehensive Income [Extensible Enumeration] | Net change in unrealized appreciation/(depreciation) | Net change in unrealized appreciation/(depreciation) | Net change in unrealized appreciation/(depreciation) | Net change in unrealized appreciation/(depreciation) |
| Ending Balance | $ 613,345 | $ 1,234,921 | $ 613,345 | $ 1,234,921 |
| Change in net unrealized appreciation/(depreciation) in investments held | $ (22,393) | $ (21,121) | $ (15,799) | $ (26,823) |
| Fair Value, Asset, Recurring Basis, Still Held, Unrealized Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] | Gain (Loss), Investment and Derivative, Operating, before Tax | Gain (Loss), Investment and Derivative, Operating, before Tax | Gain (Loss), Investment and Derivative, Operating, before Tax | Gain (Loss), Investment and Derivative, Operating, before Tax |
| Level 3 | Equity | ||||
| Investment Valuations And Fair Value Measurements [Line Items] | ||||
| Beginning Balance | $ 46,335 | $ 2,031 | $ 39,875 | $ 224 |
| Purchases, including payments received in-kind | 0 | 1,176 | 357 | 1,933 |
| Sales and paydowns of investments | (782) | (277) | (1,139) | (401) |
| Investments transferred pursuant to Exchange Offer | (23,395) | (23,395) | ||
| Amortization of premium and accretion of discount, net | $ 0 | $ 0 | $ 0 | 0 |
| Fair Value, Asset, Recurring Basis, Unobservable Input Reconciliation, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] | Realized Gain (Loss), Investment and Derivative, Operating, before Tax | Realized Gain (Loss), Investment and Derivative, Operating, before Tax | Realized Gain (Loss), Investment and Derivative, Operating, before Tax | |
| Net realized (loss) gain | $ 14,558 | $ 0 | $ 14,558 | |
| Net change in unrealized appreciation/(depreciation) | $ (31,700) | $ 5,610 | $ (25,240) | $ 6,784 |
| Fair Value, Asset, Recurring Basis, Unobservable Input Reconciliation, Asset, Gain (Loss), Statement of Other Comprehensive Income or Comprehensive Income [Extensible Enumeration] | Net change in unrealized appreciation/(depreciation) | Net change in unrealized appreciation/(depreciation) | Net change in unrealized appreciation/(depreciation) | Net change in unrealized appreciation/(depreciation) |
| Ending Balance | $ 5,016 | $ 8,540 | $ 5,016 | $ 8,540 |
| Change in net unrealized appreciation/(depreciation) in investments held | $ (2,778) | $ 5,610 | $ 3,944 | $ 6,784 |
| Fair Value, Asset, Recurring Basis, Still Held, Unrealized Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] | Gain (Loss), Investment and Derivative, Operating, before Tax | Gain (Loss), Investment and Derivative, Operating, before Tax | Gain (Loss), Investment and Derivative, Operating, before Tax | Gain (Loss), Investment and Derivative, Operating, before Tax |