Financial Highlights - Schedule of Financial Highlights (Details) - USD ($) $ / shares in Units, $ in Thousands |
3 Months Ended | 6 Months Ended | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2026 |
Jun. 30, 2025 |
|||||||||||||||||||||||
| Investment Company, Financial Highlights [Line Items] | ||||||||||||||||||||||||||
| Net asset value at beginning of period | $ 19.55 | $ 19.33 | ||||||||||||||||||||||||
| Net investment income | [1] | 1.14 | 1.06 | |||||||||||||||||||||||
| Net realized gain (loss) on investments, net of tax (provision) | [1] | (0.16) | 0.12 | |||||||||||||||||||||||
| Net unrealized appreciation (depreciation) on investments | [1] | 0.08 | 0.13 | |||||||||||||||||||||||
| Realized losses on extinguishment of debt | [1] | (0.01) | (0.01) | |||||||||||||||||||||||
| Total increase from investment operations | [1] | 1.05 | 1.3 | |||||||||||||||||||||||
| Accretive (dilutive) effect of share issuances and repurchases | 0 | 0.04 | ||||||||||||||||||||||||
| Dividends declared to stockholders | (1.14) | (1.08) | ||||||||||||||||||||||||
| Other | [2] | (0) | (0.02) | |||||||||||||||||||||||
| Net asset value at end of period | $ 19.46 | $ 19.57 | 19.46 | 19.57 | ||||||||||||||||||||||
| Market value at end of period | $ 19.07 | $ 20.2 | $ 19.07 | $ 20.2 | ||||||||||||||||||||||
| Shares outstanding at end of period | 37,954,364 | 35,379,900 | 37,954,364 | 35,379,900 | ||||||||||||||||||||||
| Weighted average number of shares outstanding - basic | 37,954,364 | 35,156,663 | 37,954,364 | 34,620,172 | ||||||||||||||||||||||
| Weighted average number of shares outstanding - diluted | 37,954,364 | 35,156,663 | 37,954,364 | 34,620,172 | ||||||||||||||||||||||
| Net assets at end of period | $ 738,478 | $ 692,297 | $ 738,478 | $ 692,297 | ||||||||||||||||||||||
| Average net assets | [3] | $ 740,808 | $ 675,298 | $ 740,808 | $ 675,298 | |||||||||||||||||||||
| Total expenses | [4],[5],[6] | 12.90% | 12.00% | |||||||||||||||||||||||
| Net investment income | [7] | 11.70% | 10.90% | |||||||||||||||||||||||
| Total return based on market value | [8] | 3.80% | 0.10% | |||||||||||||||||||||||
| Total return based on net asset value | [9] | 5.40% | 6.70% | |||||||||||||||||||||||
| Portfolio turnover ratio | [10] | 16.40% | 29.20% | |||||||||||||||||||||||
| Weighted average debt outstanding | [11] | $ 707,216 | $ 529,510 | |||||||||||||||||||||||
| Weighted average debt per share | [1] | $ 18.63 | $ 15.29 | |||||||||||||||||||||||
| ||||||||||||||||||||||||||