Financial Highlights - Schedule of Financial Highlights (Details) - USD ($) $ / shares in Units, $ in Thousands |
12 Months Ended | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2023 |
Dec. 31, 2022 |
Dec. 31, 2021 |
Dec. 31, 2020 |
Dec. 31, 2019 |
Dec. 31, 2018 |
Dec. 31, 2017 |
Dec. 31, 2016 |
|||||||||||||||
| Investment Company, Financial Highlights [Line Items] | ||||||||||||||||||||||
| Net Asset Value Per Share, Beginning Balance | [1] | $ 14.22 | $ 14.65 | $ 14.84 | $ 14.58 | $ 15.14 | $ 14.66 | $ 10.38 | $ 15 | |||||||||||||
| Net investment income | [1] | 1.93 | 1.46 | 1.3 | 1.38 | 1.95 | 1.26 | (0.66) | (83.81) | |||||||||||||
| Total from investment operations | [1] | 1.09 | 0.79 | 1.33 | 1.71 | 1.48 | 1.26 | (0.52) | (83.82) | |||||||||||||
| Distributions | [1] | (1.81) | (1.26) | (1.33) | (1.49) | (2.2) | (0.75) | |||||||||||||||
| Offering costs | [1] | (0.21) | (0.03) | |||||||||||||||||||
| Accretion (dilution) | [1],[2] | 0.04 | 0.02 | 0.04 | 0.19 | (0.03) | 4.8 | 79.2 | ||||||||||||||
| Net Asset Value Per Share, Ending Balance | [1] | $ 13.5 | $ 14.22 | $ 14.65 | $ 14.84 | $ 14.58 | $ 15.14 | $ 14.66 | $ 10.38 | |||||||||||||
| Net assets at beginning of period | $ 576,052 | $ 606,195 | $ 466,244 | $ 376,313 | $ 167,369 | $ 127,040 | $ 3,477 | $ 25 | ||||||||||||||
| Net assets at end of period | 547,071 | 576,052 | 606,195 | 466,244 | 376,313 | 167,369 | 127,040 | 3,477 | ||||||||||||||
| Weighted average net assets | $ 574,594 | $ 589,669 | $ 508,836 | $ 403,188 | $ 283,774 | $ 141,046 | $ 40,389 | $ 152 | ||||||||||||||
| Weighted average shares outstanding, Basic | 40,509,269 | 40,971,242 | 34,183,358 | 27,617,425 | 18,701,021 | 9,300,960 | 2,795,274 | 10,774 | ||||||||||||||
| Ratio/Supplemental Data: | ||||||||||||||||||||||
| Total return based on net asset value | [3] | 7.67% | 5.67% | 7.68% | 12.00% | 10.83% | 8.39% | 41.23% | (30.80%) | |||||||||||||
| Total return based on market value | [4] | 0.245 | 0.0023 | |||||||||||||||||||
| Ratio of net investment income to average net assets | [5],[6] | 13.62% | 10.14% | 8.74% | 9.44% | 12.85% | 8.30% | (4.56%) | (595.90%) | |||||||||||||
| Ratio of total operating expenses to average net assets | [5],[6] | 14.96% | 8.13% | 5.23% | 4.85% | 6.58% | 6.42% | 12.46% | 595.90% | |||||||||||||
| Ratio of total operating expenses excluding incentive fees to average net assets | [6] | 11.64% | 5.90% | 3.41% | 3.05% | 3.64% | 5.42% | 12.46% | 595.90% | |||||||||||||
| Ratio of net increase (decrease) in net assets resulting from operations to average net assets | [6] | 7.72% | 5.47% | 8.97% | 11.65% | 9.74% | 8.34% | (3.56%) | (595.90%) | |||||||||||||
| Portfolio turnover rate | [7] | 18.61% | 19.17% | 52.05% | 26.31% | 35.72% | 14.08% | 206.80% | ||||||||||||||
| Net Realized Gain (Loss) | ||||||||||||||||||||||
| Investment Company, Financial Highlights [Line Items] | ||||||||||||||||||||||
| Net realized gain (loss) and Change in unrealized (loss) | [1] | $ (0.45) | $ (0.03) | $ 0.12 | $ (0.19) | $ 0.03 | ||||||||||||||||
| Net Change in Unrealized Gain (Loss) | ||||||||||||||||||||||
| Investment Company, Financial Highlights [Line Items] | ||||||||||||||||||||||
| Net realized gain (loss) and Change in unrealized (loss) | [1] | $ (0.39) | $ (0.64) | $ (0.09) | $ 0.52 | $ (0.5) | $ 0.14 | $ (0.01) | ||||||||||||||
| ||||||||||||||||||||||