| Investment Company, Financial Highlights [Table Text Block] |
| | | Year ended December 31, | | |
| | | 2025 | | | | 2024 | | | | 2023 | | | | 2022 | | | | 2021 | | |
| | | (In thousands, except share and per share data) | | |
| Per share data: | | | | | | | | | | | | | | | | | | | | | | | | | |
| Net asset value at beginning of period | | $ | 8.43 | | | | $ | 9.71 | | | | $ | 11.47 | | | | $ | 11.56 | | | | $ | 11.02 | | |
| Net investment income | | | 1.05 | | | | | 1.32 | | | | | 1.98 | | | | | 1.46 | | | | | 1.41 | | |
| Realized loss on investments | | | (1.37 | ) | | | | (0.96 | ) | | | | (0.97 | ) | | | | (0.38 | ) | | | | (0.18 | ) | |
| Unrealized appreciation (depreciation) on investments | | | 0.26 | | | | | (0.52 | ) | | | | (1.57 | ) | | | | (0.22 | ) | | | | 0.16 | | |
| Net (decrease) increase in net assets resulting from operations | | | (0.06 | ) | | | | (0.16 | ) | | | | (0.56 | ) | | | | 0.86 | | | | | 1.39 | | |
| Distributions declared (1) | | | (1.32 | ) | | | | (1.37 | ) | | | | (1.37 | ) | | | | (1.28 | ) | | | | (1.25 | ) | |
| From net investment income | | | (1.32 | ) | | | | (1.37 | ) | | | | (1.37 | ) | | | | (1.28 | ) | | | | (1.25 | ) | |
| From net realized gain on investments | | | — | | | | | — | | | | | — | | | | | — | | | | | — | | |
| Return of capital | | | — | | | | | — | | | | | — | | | | | — | | | | | — | | |
| Other (2) | | | (0.07 | ) | | | | 0.25 | | | | | 0.17 | | | | | 0.33 | | | | | 0.40 | | |
| Net asset value at end of period | | $ | 6.98 | | | | $ | 8.43 | | | | $ | 9.71 | | | | $ | 11.47 | | | | $ | 11.56 | | |
| Per share market value, beginning of period | | $ | 8.99 | | | | $ | 13.17 | | | | $ | 11.60 | | | | $ | 15.92 | | | | $ | 13.24 | | |
| Per share market value, end of period | | $ | 6.45 | | | | $ | 8.99 | | | | | 13.17 | | | | | 11.60 | | | | | 15.92 | | |
| Total return based on a market value (3) | | | (13.6 | )% | | | | (21.3 | )% | | | | 25.3 | % | | | | (19.3 | )% | | | | 29.7 | % | |
| Shares outstanding at end of period | | | 45,613,815 | | | | | 39,875,847 | | | | | 33,367,389 | | | | | 27,753,373 | | | | | 21,217,460 | | |
| Ratios to average net assets: | | | | | | | | | | | | | | | | | | | | | | | | | |
| Expenses without incentive fees (4) | | | 16.2 | % | | | | 15.1 | % | | | | 14.1 | % | | | | 11.5 | % | | | | 10.5 | % | |
| Incentive fees (4) | | | — | | | | | 0.1 | % | | | | 0.9 | % | | | | 2.6 | % | | | | 3.1 | % | |
| Net expenses (4) | | | 16.2 | % | | | | 15.2 | % | | | | 15.0 | % | | | | 14.1 | % | | | | 13.6 | % | |
| Net investment income with incentive fees | | | 14.2 | % | | | | 14.4 | % | | | | 18.2 | % | | | | 12.1 | % | | | | 12.2 | % | |
| Ratios, without waivers, to average net assets: | | | | | | | | | | | | | | | | | | | | | | | | | |
| Expenses without incentive fees | | | 16.2 | % | | | | 15.1 | % | | | | 14.1 | % | | | | 11.5 | % | | | | 10.5 | % | |
| Incentive fees | | | — | % | | | | 0.1 | % | | | | 0.9 | % | | | | 2.6 | % | | | | 3.1 | % | |
| Net expenses | | | 16.2 | % | | | | 15.2 | % | | | | 15.0 | % | | | | 14.1 | % | | | | 13.6 | % | |
| Net investment income with incentive fees | | | 14.2 | % | | | | 14.4 | % | | | | 18.2 | % | | | | 12.1 | % | | | | 12.2 | % | |
| Net assets at the end of the period | | $ | 318,502 | | | | $ | 336,183 | | | | $ | 323,981 | | | | $ | 318,448 | | | | $ | 245,335 | | |
| Average net asset value | | $ | 311,928 | | | | $ | 332,719 | | | | $ | 336,915 | | | | $ | 299,182 | | | | $ | 231,215 | | |
| Average debt per share | | $ | 10.43 | | | | $ | 12.42 | | | | $ | 13.93 | | | | $ | 13.70 | | | | $ | 11.27 | | |
| Portfolio turnover ratio | | | 30.0 | % | (4) | | | 15.6 | % | (4) | | | 17.2 | % | (4) | | | 14.6 | % | (4) | | | 45.4 | % | (4) |
| | | Year ended December 31, | | |
| | | 2020 | | | | 2019 | | | | 2018 | | | | 2017 | | | | 2016 | | |
| | | (In thousands, except share and per share data) | | |
| Per share data: | | | | | | | | | | | | | | | | | | | | | | | | | |
| Net asset value at beginning of period | | $ | 11.83 | | | | $ | 11.64 | | | | $ | 11.72 | | | | $ | 12.09 | | | | $ | 13.85 | | |
| Net investment income | | | 1.18 | | | | | 1.52 | | | | | 1.20 | | | | | 1.07 | | | | | 1.48 | | |
| Realized (loss) gain | | | (0.84 | ) | | | | (0.31 | ) | | | | 0.06 | | | | | (1.84 | ) | | | | (0.67 | ) | |
| Unrealized appreciation (depreciation) on investments | | | 0.02 | | | | | 0.24 | | | | | (0.13 | ) | | | | 1.60 | | | | | (1.24 | ) | |
| Net increase (decrease) in net assets resulting from operations | | | 0.36 | | | | | 1.45 | | | | | 1.13 | | | | | 0.83 | | | | | (0.43 | ) | |
| Net dilution from issuance of common stock | | | — | | | | | — | | | | | — | | | | | — | | | | | — | | |
| Distributions declared (1) | | | (1.25 | ) | | | | (1.20 | ) | | | | (1.20 | ) | | | | (1.20 | ) | | | | (1.34 | ) | |
| From net investment income | | | (1.25 | ) | | | | (1.20 | ) | | | | (1.20 | ) | | | | (1.20 | ) | | | | (1.34 | ) | |
| From net realized gain on investments | | | — | | | | | — | | | | | — | | | | | — | | | | | — | | |
| Return of capital | | | — | | | | | — | | | | | — | | | | | — | | | | | — | | |
| Net accretion from repurchase of common stock | | | — | | | | | — | | | | | — | | | | | — | | | | | 0.01 | | |
| Other (2) | | | 0.08 | | | | | (0.06 | ) | | | | (0.01 | ) | | | | — | | | | | — | | |
| Net asset value at end of period | | $ | 11.02 | | | | $ | 11.83 | | | | $ | 11.64 | | | | $ | 11.72 | | | | $ | 12.09 | | |
| Per share market value, beginning of period | | $ | 12.93 | | | | $ | 11.25 | | | | $ | 11.22 | | | | $ | 10.53 | | | | $ | 11.73 | | |
| Per share market value, end of period | | $ | 13.24 | | | | $ | 12.93 | | | | $ | 11.25 | | | | | 11.22 | | | | | 10.53 | | |
| Total return based on a market value (3) | | | 12.1 | % | | | | 25.6 | % | | | | 11.0 | % | | | | 17.9 | % | | | | 1.5 | % | |
| Shares outstanding at end of period | | | 19,286,356 | | | | | 15,563,290 | | | | | 11,535,129 | | | | | 11,520,406 | | | | | 11,510,424 | | |
| Ratios to average net assets: | | | | | | | | | | | | | | | | | | | | | | | | | |
| Expenses without incentive fees (5) | | | 10.0 | % | | | | 10.8 | % | | | | 10.4 | % | | | | 8.6 | % | | | | 9.2 | % | |
| Incentive fees (5) | | | 2.6 | | | | | 3.2 | | | | | 2.4 | % | | | | 1.2 | % | | | | 1.4 | % | |
| Net expenses (5) | | | 12.6 | % | | | | 14.0 | % | | | | 12.8 | % | | | | 9.8 | % | | | | 10.6 | % | |
| Net investment income with incentive fees (5) | | | 10.4 | % | | | | 12.8 | % | | | | 10.3 | % | | | | 9.0 | % | | | | 11.4 | % | |
| Ratios, without waivers, to average net assets: | | | | | | | | | | | | | | | | | | | | | | | | | |
| Expenses without incentive fees (5) | | | 10.0 | % | | | | 10.8 | % | | | | 10.4 | % | | | | 8.6 | % | | | | 9.2 | % | |
| Incentive fees (5) | | | 2.6 | % | | | | 4.4 | % | | | | 3.3 | % | | | | 1.3 | % | | | | 1.4 | % | |
| Net expenses (5) | | | 12.6 | % | | | | 15.2 | % | | | | 13.7 | % | | | | 9.9 | % | | | | 10.6 | % | |
| Net investment income with incentive fees (5) | | | 10.4 | % | | | | 11.6 | % | | | | 9.4 | % | | | | 8.9 | % | | | | 11.4 | % | |
| Net assets at the end of the period | | $ | 212,597 | | | | $ | 184,055 | | | | $ | 134,257 | | | | $ | 135,075 | | | | $ | 139,192 | | |
| Average net asset value | | $ | 199,302 | | | | $ | 160,008 | | | | $ | 134,364 | | | | $ | 137,293 | | | | $ | 150,612 | | |
| Average debt per share | | $ | 9.97 | | | | $ | 10.05 | | | | $ | 8.62 | | | | $ | 6.60 | | | | $ | 8.91 | | |
| Portfolio turnover ratio | | | 38.7 | % | (4) | | | 82.0 | % | (6) | | | 50.4 | % | (6) | | | 79.4 | % | (6) | | | 27.1 | % | (6) |
|