Financial Highlights - Schedule of Financial Highlights (Details) - USD ($) |
3 Months Ended | 6 Months Ended | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2026 |
Jun. 30, 2025 |
Mar. 31, 2026 |
Dec. 31, 2025 |
Mar. 31, 2025 |
Dec. 31, 2024 |
|||||||||||
| Investment Company, Financial Highlights [Line Items] | ||||||||||||||||||
| Per share NAV at beginning of period | $ 6.72 | $ 9.18 | $ 7.07 | $ 9.23 | ||||||||||||||
| Net investment income | [1] | 0.44 | 0.7 | |||||||||||||||
| Net realized and unrealized gain (loss) | [1] | (0.58) | (0.64) | |||||||||||||||
| Total from investment operations | (0.14) | 0.06 | ||||||||||||||||
| Repurchase of common stock | 0.02 | 0 | ||||||||||||||||
| Loss on extinguishment of debt | (0.03) | 0 | ||||||||||||||||
| Dividends to common shareholders | (0.34) | (0.58) | ||||||||||||||||
| Per share NAV at end of period | 6.58 | 8.71 | 6.58 | 8.71 | ||||||||||||||
| Per share market price at end of period | $ 3.36 | $ 7.7 | $ 3.36 | $ 7.7 | ||||||||||||||
| Total return based on market value | [2],[3] | (32.40%) | (4.90%) | |||||||||||||||
| Total return based on net asset value | [2],[4] | (2.10%) | 0.70% | |||||||||||||||
| Shares outstanding at end of period | 83,902,775 | 85,036,467 | 83,902,775 | 85,036,467 | ||||||||||||||
| Net investment income | [5] | 12.70% | 15.40% | |||||||||||||||
| Expenses, before incentive fee, and management fee waiver | [5] | 15.90% | 13.10% | |||||||||||||||
| Expenses, net of incentive fee, before management fee waiver | [5] | 15.90% | 13.10% | |||||||||||||||
| Management fee waiver | [5] | 0.00% | (0.90%) | |||||||||||||||
| Expenses, net of incentive fee, and management fee waiver | [5] | 15.90% | 12.20% | |||||||||||||||
| Ending common shareholder equity | $ 552,006,827 | $ 740,476,938 | $ 552,006,827 | $ 740,476,938 | $ 565,111,013 | $ 598,013,197 | $ 781,318,924 | $ 785,123,667 | ||||||||||
| Portfolio turnover rate | 3.40% | 7.40% | ||||||||||||||||
| Weighted-average debt outstanding | $ 987,543,968 | $ 1,145,193,596 | ||||||||||||||||
| Weighted-average interest rate on debt | 5.80% | 5.40% | 5.80% | 5.40% | ||||||||||||||
| Weighted-average number of common shares | 83,915,423 | 85,042,931 | 84,124,040 | 85,060,179 | ||||||||||||||
| Weighted-average debt per share | $ 11.74 | $ 13.46 | ||||||||||||||||
| ||||||||||||||||||
| X | ||||||||||
- Definition Expenses net of incentive fee, before management fee waiver. No definition available.
|
| X | ||||||||||
- Definition Investment company management fee waiver. No definition available.
|
| X | ||||||||||
- Definition Weighted-average debt per share. No definition available.
|
| X | ||||||||||
- Definition Aggregate dividends declared during the period for each share of common stock outstanding. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Weighted average interest rate of debt outstanding. No definition available.
|
| X | ||||||||||
- Definition Per share impact of the gain (loss) on the extinguishment of debt, net of applicable taxes. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Percentage of expense, after incentive allocation, to average net assets. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Percentage, before incentive allocation, of expense to average net assets. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Per share or unit amount of realized and unrealized gain (loss) on investment. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Per share or unit amount of investment income (loss) and realized and unrealized gain (loss) on investment. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Per-basic-share or unit amount, after investment expense, of dividend and interest investment income (loss) from investment held by investment company. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Percentage of investment income (loss) to average net assets. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Market value per share of investment portfolio by investment company. Includes, but is not limited to, per unit, membership interest, or other ownership interest. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Percentage of lesser of purchase or sale of portfolio securities to average value of portfolio securities owned. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Per share amount of share repurchase by investment company. Includes, but is not limited to, per unit, membership interest, or other ownership interest. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Percentage increase (decrease) in fund net asset value, assuming reinvestment of dividends and capital gain distributions. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Percentage increase (decrease) in portfolio market value assuming reinvestment of dividend and capital gain distribution. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Average amount outstanding of long-term debt. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Net asset value per share or per unit of investments in certain entities that calculate net asset value per share. Includes, but is not limited to, by unit, membership interest, or other ownership interest. Investment includes, but is not limited to, investment in certain hedge funds, venture capital funds, private equity funds, real estate partnerships or funds. Excludes fair value disclosure. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of equity (deficit) attributable to parent. Excludes temporary equity and equity attributable to noncontrolling interest. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|