Financial Highlights - Schedule of Financial Highlights (Details) - USD ($) $ / shares in Units, $ in Thousands |
3 Months Ended | 9 Months Ended | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Sep. 30, 2026 |
Sep. 30, 2025 |
Sep. 30, 2026 |
Sep. 30, 2025 |
|||||||||||||||||||||||
| Investment Company, Financial Highlights [Line Items] | ||||||||||||||||||||||||||
| Net asset value at beginning of period | $ 19.55 | $ 19.33 | ||||||||||||||||||||||||
| Net investment income | [1] | 1.68 | 1.55 | |||||||||||||||||||||||
| Net realized gain (loss) on investments, net of tax (provision) | [1] | (0.45) | 0.07 | |||||||||||||||||||||||
| Net unrealized appreciation (depreciation) on investments | [1] | 0.35 | 0.23 | |||||||||||||||||||||||
| Realized losses on extinguishment of debt | [1] | (0.01) | (0.02) | |||||||||||||||||||||||
| Total increase from investment operations | [1] | 1.57 | 1.83 | |||||||||||||||||||||||
| Accretive (dilutive) effect of share issuances and repurchases | 0 | 0.08 | ||||||||||||||||||||||||
| Dividends declared to stockholders | (1.64) | (1.65) | ||||||||||||||||||||||||
| Other | [2] | (0.01) | (0.03) | |||||||||||||||||||||||
| Net asset value at end of period | $ 19.47 | $ 19.56 | 19.47 | 19.56 | ||||||||||||||||||||||
| Market value at end of period | $ 19.27 | $ 20.26 | $ 19.27 | $ 20.26 | ||||||||||||||||||||||
| Shares outstanding at end of period | 39,770,605 | 36,347,868 | 39,770,605 | 36,347,868 | ||||||||||||||||||||||
| Weighted average number of shares outstanding - basic | 38,903,423 | 35,721,635 | 38,274,193 | 34,991,361 | ||||||||||||||||||||||
| Weighted average number of shares outstanding - diluted | 38,903,423 | 35,721,635 | 38,274,193 | 34,991,361 | ||||||||||||||||||||||
| Net assets at end of period | $ 774,410 | $ 711,034 | $ 774,410 | $ 711,034 | ||||||||||||||||||||||
| Average net assets | [3] | $ 749,208 | $ 684,232 | $ 749,208 | $ 684,232 | |||||||||||||||||||||
| Total expenses | [4],[5],[6] | 13.00% | 11.90% | |||||||||||||||||||||||
| Net investment income | [7] | 11.50% | 10.60% | |||||||||||||||||||||||
| Total return based on market value | [8] | 7.40% | 0.40% | |||||||||||||||||||||||
| Total return based on net asset value | [9] | 8.00% | 9.50% | |||||||||||||||||||||||
| Portfolio turnover ratio | [10] | 15.70% | 23.60% | |||||||||||||||||||||||
| Weighted average debt outstanding | [11] | $ 714,476 | $ 531,127 | |||||||||||||||||||||||
| Weighted average debt per share | [1] | $ 18.67 | $ 15.18 | |||||||||||||||||||||||
| ||||||||||||||||||||||||||