| INVESTMENTS IN AND ADVANCES TO AFFILIATES (Details) - USD ($)
 | 12 Months Ended | 
| Sep. 30, 2024 | Sep. 30, 2023 | Sep. 30, 2022 | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 169.10% | [1],[2],[3],[4],[5] | 172.50% | [6],[7],[8],[9],[10] |  | 
| Net Realized Gain (Loss) for Period |  | $ 5,959,000 |  | $ 12,664,000 |  | $ 5,173,000 | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [8] | 704,815,000 |  |  |  |  | 
| Ending Balance |  | 796,260,000 | [5] | 704,815,000 | [8] |  | 
| Diversified/Conglomerate Manufacturing |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance |  | 158,061,000 |  |  |  |  | 
| Ending Balance |  | 160,264,000 |  | 158,061,000 |  |  | 
| Diversified/Conglomerate Service |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance |  | 135,060,000 |  |  |  |  | 
| Ending Balance |  | 179,032,000 |  | 135,060,000 |  |  | 
| Automobile |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance |  | 27,571,000 |  |  |  |  | 
| Ending Balance |  | 28,286,000 |  | 27,571,000 |  |  | 
| Machinery |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance |  | 6,411,000 |  |  |  |  | 
| Ending Balance |  | 21,816,000 |  | 6,411,000 |  |  | 
| Secured first lien debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance |  | 510,701,000 |  |  |  |  | 
| Ending Balance |  | 554,937,000 |  | 510,701,000 |  |  | 
| Secured second lien debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance |  | 127,854,000 |  |  |  |  | 
| Ending Balance |  | 113,716,000 |  | 127,854,000 |  |  | 
| Preferred equity |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance |  | 26,855,000 |  |  |  |  | 
| Ending Balance |  | 31,346,000 |  | 26,855,000 |  |  | 
| Common equity/equivalents |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance |  | 39,381,000 |  |  |  |  | 
| Ending Balance |  | $ 96,229,000 |  | $ 39,381,000 |  |  | 
| Affiliate investments |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 1.60% | [1],[2],[3],[4],[11] | 2.60% | [6],[7],[9],[10],[12] |  | 
| Net Realized Gain (Loss) for Period |  | $ 0 |  | $ 0 |  | 13,408,000 | 
| Amount of Investment Income |  | 0 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [12] | 10,421,000 |  |  |  |  | 
| Gross Additions |  | 0 |  |  |  |  | 
| Gross Reductions |  | 0 |  |  |  |  | 
| Net Unrealized Appreciation (Depreciation) |  | (2,983,000) |  |  |  |  | 
| Ending Balance |  | $ 7,438,000 | [11] | $ 10,421,000 | [12] |  | 
| Affiliate investments | Secured first lien debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.10% | [1],[2],[3],[4],[11] | 0.70% | [6],[7],[9],[10],[12] |  | 
| Affiliate investments | Secured first lien debt | Diversified/Conglomerate Manufacturing |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.10% | [1],[2],[3],[4],[11] | 0.70% | [6],[7],[9],[10],[12] |  | 
| Affiliate investments | Preferred equity |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.90% | [1],[2],[3],[4],[11] | 1.30% | [6],[7],[9],[10],[12] |  | 
| Net Realized Gain (Loss) for Period |  | $ 0 |  |  |  |  | 
| Amount of Investment Income |  | 0 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [12] | 5,122,000 |  |  |  |  | 
| Gross Additions |  | 0 |  |  |  |  | 
| Gross Reductions |  | 0 |  |  |  |  | 
| Net Unrealized Appreciation (Depreciation) |  | (1,023,000) |  |  |  |  | 
| Ending Balance |  | $ 4,099,000 | [11] | $ 5,122,000 | [12] |  | 
| Affiliate investments | Preferred equity | Diversified/Conglomerate Manufacturing |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.00% | [1],[2],[3],[4],[11] | 0.00% | [6],[7],[9],[10],[12] |  | 
| Affiliate investments | Preferred equity | Diversified/Conglomerate Service |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Investment owned, percent of net assets | [1],[2],[3],[4],[11] | 0.70% |  |  |  |  | 
| Affiliate investments | Preferred equity | Personal and Non-Durable Consumer Products (Manufacturing Only) |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.20% | [1],[2],[3],[4],[11] | 0.20% | [6],[7],[9],[10],[12] |  | 
| Affiliate investments | Common equity/equivalents |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.60% | [1],[2],[3],[4],[11] | 0.60% | [6],[7],[9],[10],[12] |  | 
| Affiliate investments | Common equity/equivalents | Personal and Non-Durable Consumer Products (Manufacturing Only) |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.60% | [1],[2],[3],[4],[11] | 0.60% | [6],[7],[9],[10],[12] |  | 
| Control investments |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 8.00% | [1],[2],[3],[4],[13] | 7.50% | [6],[7],[9],[10],[14] |  | 
| Net Realized Gain (Loss) for Period |  | $ 259,000 |  | $ 2,684,000 |  | $ (8,496,000) | 
| Amount of Investment Income |  | 2,074,000 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [14] | 30,850,000 |  |  |  |  | 
| Gross Additions |  | 4,949,000 |  |  |  |  | 
| Gross Reductions |  | (1,291,000) |  |  |  |  | 
| Net Unrealized Appreciation (Depreciation) |  | 3,410,000 |  |  |  |  | 
| Ending Balance |  | $ 37,918,000 | [13] | $ 30,850,000 | [14] |  | 
| Control investments | Secured first lien debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 3.00% | [1],[2],[3],[4],[13] | 3.90% | [6],[7],[9],[10],[14] |  | 
| Net Realized Gain (Loss) for Period |  | $ 0 |  |  |  |  | 
| Amount of Investment Income |  | 931,000 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [14] | 16,120,000 |  |  |  |  | 
| Gross Additions |  | 3,585,000 |  |  |  |  | 
| Gross Reductions |  | (1,050,000) |  |  |  |  | 
| Net Unrealized Appreciation (Depreciation) |  | (4,759,000) |  |  |  |  | 
| Ending Balance |  | $ 13,896,000 | [13] | $ 16,120,000 | [14] |  | 
| Control investments | Secured first lien debt | Diversified/Conglomerate Manufacturing |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.90% | [1],[2],[3],[4],[13] | 0.90% | [6],[7],[9],[10],[14] |  | 
| Net Realized Gain (Loss) for Period |  | $ 0 |  |  |  |  | 
| Amount of Investment Income |  | 402,000 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance |  | 3,927,000 |  |  |  |  | 
| Gross Additions |  | 303,000 |  |  |  |  | 
| Gross Reductions |  | (100,000) |  |  |  |  | 
| Net Unrealized Appreciation (Depreciation) |  | 70,000 |  |  |  |  | 
| Ending Balance |  | $ 4,200,000 |  | $ 3,927,000 |  |  | 
| Control investments | Secured first lien debt | Personal and Non-Durable Consumer Products (Manufacturing Only) |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 2.10% | [1],[2],[3],[4],[13] | 2.80% | [6],[7],[9],[10],[14] |  | 
| Net Realized Gain (Loss) for Period |  | $ 0 |  |  |  |  | 
| Amount of Investment Income |  | 461,000 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [14] | 11,293,000 |  |  |  |  | 
| Gross Additions |  | 3,282,000 |  |  |  |  | 
| Gross Reductions |  | (50,000) |  |  |  |  | 
| Net Unrealized Appreciation (Depreciation) |  | (4,829,000) |  |  |  |  | 
| Ending Balance |  | $ 9,696,000 | [13] | $ 11,293,000 | [14] |  | 
| Control investments | Secured first lien debt | Printing and Publishing |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.00% | [1],[2],[3],[4],[13] | 0.20% | [6],[7],[9],[10],[14] |  | 
| Control investments | Secured second lien debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 1.80% | [1],[2],[3],[4],[13] | 1.80% | [6],[7],[9],[10],[14] |  | 
| Control investments | Secured second lien debt | Automobile |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 1.80% | [1],[2],[3],[4],[13] | 1.80% | [6],[7],[9],[10],[14] |  | 
| Control investments | Preferred equity |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.00% | [1],[2],[3],[4],[13] | 0.00% | [6],[7],[9],[10],[14] |  | 
| Control investments | Preferred equity | Personal and Non-Durable Consumer Products (Manufacturing Only) |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.00% | [1],[2],[3],[4],[13] | 0.00% | [6],[7],[9],[10],[14] |  | 
| Control investments | Common equity/equivalents |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 3.20% | [1],[2],[3],[4],[13] | 1.80% | [6],[7],[9],[10],[14] |  | 
| Net Realized Gain (Loss) for Period |  | $ 259,000 |  |  |  |  | 
| Amount of Investment Income |  | 0 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [14] | 7,305,000 |  |  |  |  | 
| Gross Additions |  | 2,000 |  |  |  |  | 
| Gross Reductions |  | (1,000) |  |  |  |  | 
| Net Unrealized Appreciation (Depreciation) |  | 8,169,000 |  |  |  |  | 
| Ending Balance |  | $ 15,475,000 | [13] | $ 7,305,000 | [14] |  | 
| Control investments | Common equity/equivalents | Diversified/Conglomerate Manufacturing |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 1.70% | [1],[2],[3],[4],[13] | 0.00% | [6],[7],[9],[10],[14] |  | 
| Control investments | Common equity/equivalents | Personal and Non-Durable Consumer Products (Manufacturing Only) |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Investment owned, percent of net assets | [1],[2],[3],[4],[13] | 0.00% |  |  |  |  | 
| Control investments | Common equity/equivalents | Printing and Publishing |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.90% | [1],[2],[3],[4],[13] | 0.70% | [6],[7],[9],[10],[14] |  | 
| Control investments | Common equity/equivalents | Automobile |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.60% | [1],[2],[3],[4],[13] | 1.00% | [6],[7],[9],[10],[14] |  | 
| Control investments | Common equity/equivalents | Machinery |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.00% |  | 0.10% | [6],[7],[9],[10],[14] |  | 
| Investment, Identifier [Axis]: 8th Avenue Food & Provisions, Inc. – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | $ 3,683,000 | [15],[16],[17] | $ 3,683,000 | [18],[19],[20] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [18] | 2,495,000 |  |  |  |  | 
| Ending Balance |  | $ 3,241,000 | [15] | $ 2,495,000 | [18] |  | 
| Investment, reference rate and spread |  | 7.90% | [1],[2],[3],[4],[15] | 7.90% | [6],[7],[9],[10],[18] |  | 
| Investment, interest rate, paid in cash |  | 12.70% | [1],[2],[3],[4],[15] | 13.20% | [6],[7],[9],[10],[18] |  | 
| Investment, Identifier [Axis]: ALS Education, LLC – Line of Credit |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | $ 0 | [16],[17],[21] | $ 0 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 0 |  |  |  |  | 
| Ending Balance |  | 0 | [21] | 0 | [22] |  | 
| Line of credit facility, available |  | $ 3,000,000 | [1],[2],[3],[4],[21] | $ 3,000,000 | [6],[7],[9],[10],[22] |  | 
| Investment, reference rate and spread |  | 6.80% | [1],[2],[3],[4],[21] | 7.00% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 11.60% | [1],[2],[3],[4],[21] | 12.30% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: ALS Education, LLC – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | $ 31,680,000 | [16],[17],[21] | $ 18,700,000 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 18,700,000 |  |  |  |  | 
| Ending Balance |  | $ 31,997,000 | [21] | $ 18,700,000 | [22] |  | 
| Investment, reference rate and spread |  | 6.80% | [1],[2],[3],[4],[21] | 7.00% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 11.60% | [1],[2],[3],[4],[21] | 12.30% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: Antenna Research Associates, Inc. – Common Equity Units |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 4,283 | [16],[17],[23],[24],[25] | 4,283 | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 18,436,000 |  |  |  |  | 
| Ending Balance |  | 59,423,000 | [23],[24],[25] | $ 18,436,000 | [26],[27] |  | 
| Investment, Identifier [Axis]: Antenna Research Associates, Inc. – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [16],[17],[23],[25] | 31,267,000 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Ending Balance | [23],[25] | $ 31,267,000 |  |  |  |  | 
| Investment, reference rate and spread | [1],[2],[3],[4],[23],[25] | 10.00% |  |  |  |  | 
| Investment, interest rate, paid in cash | [1],[2],[3],[4],[23],[25] | 14.80% |  |  |  |  | 
| Investment, Identifier [Axis]: Antenna Research Associates, Inc. – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [19],[20],[27] |  |  | 30,048,000 |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [27] | $ 30,048,000 |  |  |  |  | 
| Ending Balance | [27] |  |  | $ 30,048,000 |  |  | 
| Investment, reference rate and spread | [6],[7],[9],[10],[27] |  |  | 10.00% |  |  | 
| Investment, interest rate, paid in cash | [6],[7],[9],[10],[27] |  |  | 15.30% |  |  | 
| Investment, Identifier [Axis]: Arc Drilling Holdings LLC – Common Stock |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 53,333 | [16],[17],[24],[25] | 15,000 | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 403,000 |  |  |  |  | 
| Ending Balance |  | 4,816,000 | [24],[25] | $ 403,000 | [26],[27] |  | 
| Investment, Identifier [Axis]: Arc Drilling Holdings LLC – Line of Credit |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | 1,000,000 | [16],[17],[21] | 0 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 0 |  |  |  |  | 
| Ending Balance |  | 1,000,000 | [21] | 0 | [22] |  | 
| Line of credit facility, available |  | $ 4,000,000 | [1],[2],[3],[4],[21] | $ 1,000,000 | [6],[7],[9],[10],[22] |  | 
| Investment, reference rate and spread |  | 7.00% | [1],[2],[3],[4],[21] | 11.50% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 11.80% | [1],[2],[3],[4],[21] | 10.50% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: Arc Drilling Holdings LLC – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | $ 16,000,000 | [16],[17],[21] | $ 5,928,000 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 5,724,000 |  |  |  |  | 
| Ending Balance |  | $ 16,000,000 | [21] | $ 5,724,000 | [22] |  | 
| Investment, reference rate and spread |  | 7.00% | [1],[2],[3],[4],[21] | 11.50% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 11.80% | [1],[2],[3],[4],[21] | 10.50% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: Axios Industrial Group, LLC – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [19],[20],[22] |  |  | $ 11,550,000 |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | $ 11,291,000 |  |  |  |  | 
| Ending Balance | [22] |  |  | $ 11,291,000 |  |  | 
| Investment, reference rate and spread | [6],[7],[9],[10],[22] |  |  | 8.60% |  |  | 
| Investment, interest rate, paid in cash | [6],[7],[9],[10],[22] |  |  | 13.90% |  |  | 
| Investment, Identifier [Axis]: Axios Industrial Group, LLC – Term Debt 1 |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [16],[17],[21] | 11,325,000 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Ending Balance | [21] | $ 11,357,000 |  |  |  |  | 
| Investment, reference rate and spread | [1],[2],[3],[4],[21] | 9.60% |  |  |  |  | 
| Investment, interest rate, paid in cash | [1],[2],[3],[4],[21] | 14.40% |  |  |  |  | 
| Investment, Identifier [Axis]: Axios Industrial Group, LLC – Term Debt 2 |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [16],[17],[21] | $ 3,000,000 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Ending Balance | [21] | $ 3,008,000 |  |  |  |  | 
| Investment, reference rate and spread | [1],[2],[3],[4],[21] | 12.60% |  |  |  |  | 
| Investment, interest rate, paid in cash | [1],[2],[3],[4],[21] | 17.40% |  |  |  |  | 
| Investment, Identifier [Axis]: B+T Group Acquisition, Inc. – Common Stock Warrant |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Units |  | 1.50% | [16],[17],[24],[25],[28] | 1.50% | [19],[20],[26],[27],[29] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27],[29] | $ 0 |  |  |  |  | 
| Ending Balance |  | 0 | [24],[25],[28] | $ 0 | [26],[27],[29] |  | 
| Investment, Identifier [Axis]: B+T Group Acquisition, Inc. – Line of Credit |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [19],[20],[22],[29] |  |  | 1,200,000 |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22],[29] | 978,000 |  |  |  |  | 
| Ending Balance | [22],[29] |  |  | 978,000 |  |  | 
| Line of credit facility, available | [6],[7],[9],[10],[22],[29] |  |  | $ 0 |  |  | 
| Investment, reference rate and spread | [6],[7],[9],[10],[22],[29] |  |  | 2.00% |  |  | 
| Investment, interest rate, paid in cash | [6],[7],[9],[10],[22],[29] |  |  | 7.30% |  |  | 
| Investment, Identifier [Axis]: B+T Group Acquisition, Inc. – Line of Credit 1 |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [16],[17],[25],[28],[30] | 1,320,000 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Ending Balance | [25],[28],[30] | 471,000 |  |  |  |  | 
| Line of credit facility, available | [1],[2],[3],[4],[25],[28],[30] | $ 0 |  |  |  |  | 
| Investment, reference rate and spread | [1],[2],[3],[4],[25],[28],[30] | 2.00% |  |  |  |  | 
| Investment, interest rate, paid in cash | [1],[2],[3],[4],[25],[28],[30] | 7.00% |  |  |  |  | 
| Investment, Identifier [Axis]: B+T Group Acquisition, Inc. – Line of Credit 2 |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [16],[17],[25],[28],[30] | $ 323,000 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Ending Balance | [25],[28],[30] | 115,000 |  |  |  |  | 
| Line of credit facility, available | [1],[2],[3],[4],[25],[28],[30] | $ 127,000 |  |  |  |  | 
| Investment, reference rate and spread | [1],[2],[3],[4],[25],[28],[30] | 2.00% |  |  |  |  | 
| Investment, interest rate, paid in cash | [1],[2],[3],[4],[25],[28],[30] | 7.00% |  |  |  |  | 
| Investment, Identifier [Axis]: B+T Group Acquisition, Inc. – Preferred Stock |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares | [19],[20],[26],[27],[29] |  |  | 6,130 |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27],[29] | $ 0 |  |  |  |  | 
| Ending Balance | [26],[27],[29] |  |  | $ 0 |  |  | 
| Investment, Identifier [Axis]: B+T Group Acquisition, Inc. – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | 6,000,000 | [16],[17],[25],[28],[30] | 6,000,000 | [19],[20],[22],[29] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22],[29] | 4,890,000 |  |  |  |  | 
| Ending Balance |  | $ 2,139,000 | [25],[28],[30] | $ 4,890,000 | [22],[29] |  | 
| Investment, reference rate and spread |  | 2.00% | [1],[2],[3],[4],[25],[28],[30] | 2.00% | [6],[7],[9],[10],[22],[29] |  | 
| Investment, interest rate, paid in cash |  | 7.00% | [1],[2],[3],[4],[25],[28],[30] | 7.30% | [6],[7],[9],[10],[22],[29] |  | 
| Investment, Identifier [Axis]: B+T Group Acquisition, Inc.(S) – Preferred Stock |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares | [16],[17],[24],[25],[28] | 6,130 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Ending Balance | [24],[25],[28] | $ 0 |  |  |  |  | 
| Investment, Identifier [Axis]: CHA Holdings, Inc. – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [18],[19],[20],[31] |  |  | $ 3,000,000 |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [18],[31] | 2,820,000 |  |  |  |  | 
| Ending Balance | [18],[31] |  |  | $ 2,820,000 |  |  | 
| Investment, reference rate and spread | [6],[7],[9],[10],[18],[31] |  |  | 9.00% |  |  | 
| Investment, interest rate, paid in cash | [6],[7],[9],[10],[18],[31] |  |  | 14.40% |  |  | 
| Investment, Identifier [Axis]: Cafe Zupas – Line of Credit |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | 1,050,000 | [16],[17],[21] | $ 0 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 0 |  |  |  |  | 
| Ending Balance |  | 1,061,000 | [21] | 0 | [22] |  | 
| Line of credit facility, available |  | $ 700,000 | [1],[2],[3],[4],[21] | $ 1,500,000 | [6],[7],[9],[10],[22] |  | 
| Investment, reference rate and spread |  | 7.50% | [1],[2],[3],[4],[21] | 6.80% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 12.30% | [1],[2],[3],[4],[21] | 12.10% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: Café Zupas – Delayed Draw Term Loan |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | $ 7,350,000 | [16],[17],[21] | $ 7,970,000 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 7,850,000 |  |  |  |  | 
| Ending Balance |  | 7,424,000 | [21] | 7,850,000 | [22] |  | 
| Line of credit facility, available |  | $ 3,150,000 | [1],[2],[3],[4],[21] | $ 2,070,000 | [6],[7],[9],[10],[22] |  | 
| Investment, reference rate and spread |  | 7.50% | [1],[2],[3],[4],[21] | 6.80% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 12.30% | [1],[2],[3],[4],[21] | 12.10% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: Café Zupas – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | $ 26,250,000 | [16],[17],[21] | $ 23,460,000 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 23,108,000 |  |  |  |  | 
| Ending Balance |  | $ 26,513,000 | [21] | $ 23,108,000 | [22] |  | 
| Investment, reference rate and spread |  | 7.50% | [1],[2],[3],[4],[21] | 6.80% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 12.30% | [1],[2],[3],[4],[21] | 12.10% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: Canopy Safety Brands, LLC – Common Stock |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 1,170,370 | [16],[17],[24],[25] | 1,170,370 | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 2,404,000 |  |  |  |  | 
| Ending Balance |  | $ 2,959,000 | [24],[25] | $ 2,404,000 | [26],[27] |  | 
| Investment, Identifier [Axis]: Canopy Safety Brands, LLC – Preferred Stock |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 500,000 | [16],[17],[24],[25] | 500,000 | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 857,000 |  |  |  |  | 
| Ending Balance |  | $ 931,000 | [24],[25] | $ 857,000 | [26],[27] |  | 
| Investment, Identifier [Axis]: Canopy Safety Brands, LLC—Common Stock |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 1,170,370 |  |  |  |  | 
| Net Realized Gain (Loss) for Period |  | $ 0 |  |  |  |  | 
| Amount of Investment Income |  | 0 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance |  | 2,404,000 |  |  |  |  | 
| Gross Additions |  | 0 |  |  |  |  | 
| Gross Reductions |  | 0 |  |  |  |  | 
| Net Unrealized Appreciation (Depreciation) |  | 555,000 |  |  |  |  | 
| Ending Balance |  | $ 2,959,000 |  | 2,404,000 |  |  | 
| Investment, Identifier [Axis]: Canopy Safety Brands, LLC—Preferred Stock |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 500,000 |  |  |  |  | 
| Net Realized Gain (Loss) for Period |  | $ 0 |  |  |  |  | 
| Amount of Investment Income |  | 0 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance |  | 857,000 |  |  |  |  | 
| Gross Additions |  | 0 |  |  |  |  | 
| Gross Reductions |  | 0 |  |  |  |  | 
| Net Unrealized Appreciation (Depreciation) |  | 74,000 |  |  |  |  | 
| Ending Balance |  | 931,000 |  | 857,000 |  |  | 
| Investment, Identifier [Axis]: DKI Ventures, LLC – Line of Credit |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | 350,000 | [16],[17],[25],[32] | 205,000 | [19],[20],[22],[33] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22],[33] | 113,000 |  |  |  |  | 
| Ending Balance |  | 159,000 | [25],[32] | 113,000 | [22],[33] |  | 
| Line of credit facility, available |  | $ 25,000 | [1],[2],[3],[4],[25],[32] | $ 170,000 | [6],[7],[9],[10],[22],[33] |  | 
| Investment, interest rate, paid in cash |  | 9.00% | [1],[2],[3],[4],[25],[32] | 9.00% | [6],[7],[9],[10],[22],[33] |  | 
| Investment, Identifier [Axis]: DKI Ventures, LLC – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | $ 5,915,000 | [16],[17],[25],[32] | $ 5,915,000 | [19],[20],[22],[33] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22],[33] | 3,253,000 |  |  |  |  | 
| Ending Balance |  | $ 2,684,000 | [25],[32] | $ 3,253,000 | [22],[33] |  | 
| Investment, interest rate, paid in cash |  | 9.00% | [1],[2],[3],[4],[25],[32] | 9.00% | [6],[7],[9],[10],[22],[33] |  | 
| Investment, Identifier [Axis]: Defiance Integrated Technologies, Inc. – Common Stock |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 33,321 | [16],[17],[24],[25] | 33,321 | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 3,948,000 |  |  |  |  | 
| Ending Balance |  | 2,949,000 | [24],[25] | $ 3,948,000 | [26],[27] |  | 
| Investment, Identifier [Axis]: Defiance Integrated Technologies, Inc. – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | 8,547,000 | [16],[17],[25] | 7,425,000 | [19],[20],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [27] | 7,425,000 |  |  |  |  | 
| Ending Balance |  | $ 8,547,000 | [25] | $ 7,425,000 | [27] |  | 
| Investment, reference rate and spread |  | 9.60% | [1],[2],[3],[4],[25] | 9.60% | [6],[7],[9],[10],[27] |  | 
| Investment, interest rate, paid in cash |  | 14.40% | [1],[2],[3],[4],[25] | 14.90% | [6],[7],[9],[10],[27] |  | 
| Investment, Identifier [Axis]: Defiance Integrated Technologies, Inc.—Common Stock |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 33,321 |  |  |  |  | 
| Net Realized Gain (Loss) for Period |  | $ 0 |  |  |  |  | 
| Amount of Investment Income |  | 0 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance |  | 3,948,000 |  |  |  |  | 
| Gross Additions |  | 1,000 |  |  |  |  | 
| Gross Reductions |  | 0 |  |  |  |  | 
| Net Unrealized Appreciation (Depreciation) |  | (1,000,000) |  |  |  |  | 
| Ending Balance |  | 2,949,000 |  | $ 3,948,000 |  |  | 
| Investment, Identifier [Axis]: Defiance Integrated Technologies, Inc.—Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | 8,547,000 |  |  |  |  | 
| Net Realized Gain (Loss) for Period |  | 0 |  |  |  |  | 
| Amount of Investment Income |  | 1,143,000 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance |  | 7,425,000 |  |  |  |  | 
| Gross Additions |  | 1,362,000 |  |  |  |  | 
| Gross Reductions |  | (240,000) |  |  |  |  | 
| Net Unrealized Appreciation (Depreciation) |  | 0 |  |  |  |  | 
| Ending Balance |  | 8,547,000 |  | 7,425,000 |  |  | 
| Investment, Identifier [Axis]: ENET Holdings, LLC – Line of Credit |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [16],[17],[21] | 0 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Ending Balance | [21] | 0 |  |  |  |  | 
| Line of credit facility, available | [1],[2],[3],[4],[21] | $ 2,500,000 |  |  |  |  | 
| Investment, reference rate and spread | [1],[2],[3],[4],[21] | 7.30% |  |  |  |  | 
| Investment, interest rate, paid in cash | [1],[2],[3],[4],[21] | 12.10% |  |  |  |  | 
| Investment, Identifier [Axis]: ENET Holdings, LLC – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | $ 22,289,000 | [16],[17],[21] | 22,289,000 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 21,397,000 |  |  |  |  | 
| Ending Balance |  | $ 21,973,000 | [21] | $ 21,397,000 | [22] |  | 
| Investment, reference rate and spread |  | 7.30% | [1],[2],[3],[4],[21] | 8.30% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 12.10% | [1],[2],[3],[4],[21] | 13.60% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: Edge Adhesives Holdings, Inc. – Preferred Stock |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 5,466 | [16],[17],[24],[25],[28] | 5,466 | [19],[20],[26],[27],[29] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27],[29] | $ 0 |  |  |  |  | 
| Ending Balance |  | 0 | [24],[25],[28] | $ 0 | [26],[27],[29] |  | 
| Investment, Identifier [Axis]: Edge Adhesives Holdings, Inc. – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | 6,140,000 | [16],[17],[25],[28],[30] | 6,140,000 | [19],[20],[27],[29],[34] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [27],[29],[34] | 2,895,000 |  |  |  |  | 
| Ending Balance |  | $ 380,000 | [25],[28],[30] | $ 2,895,000 | [27],[29],[34] |  | 
| Investment, reference rate and spread |  | 5.50% | [1],[2],[3],[4],[25],[28],[30] | 5.50% | [6],[7],[9],[10],[27],[29],[34] |  | 
| Investment, interest rate, paid in cash |  | 10.30% | [1],[2],[3],[4],[25],[28],[30] | 10.80% | [6],[7],[9],[10],[27],[29],[34] |  | 
| Investment, Identifier [Axis]: Edge Adhesives Holdings, Inc.—Preferred Stock |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 5,466 |  |  |  |  | 
| Net Realized Gain (Loss) for Period |  | $ 0 |  |  |  |  | 
| Amount of Investment Income |  | 0 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance |  | 0 |  |  |  |  | 
| Gross Additions |  | 0 |  |  |  |  | 
| Gross Reductions |  | 0 |  |  |  |  | 
| Net Unrealized Appreciation (Depreciation) |  | 0 |  |  |  |  | 
| Ending Balance |  | 0 |  | $ 0 |  |  | 
| Investment, Identifier [Axis]: Edge Adhesives Holdings, Inc.—Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | 6,140,000 |  |  |  |  | 
| Net Realized Gain (Loss) for Period |  | 0 |  |  |  |  | 
| Amount of Investment Income |  | 0 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance |  | 2,895,000 |  |  |  |  | 
| Gross Additions |  | 0 |  |  |  |  | 
| Gross Reductions |  | 0 |  |  |  |  | 
| Net Unrealized Appreciation (Depreciation) |  | (2,515,000) |  |  |  |  | 
| Ending Balance |  | 380,000 |  | 2,895,000 |  |  | 
| Investment, Identifier [Axis]: Eegee’s LLC – Delayed Draw Term Loan |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | 3,145,000 | [16],[17],[21] | 3,000,000 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 2,865,000 |  |  |  |  | 
| Ending Balance |  | 2,380,000 | [21] | 2,865,000 | [22] |  | 
| Line of credit facility, available |  | $ 0 | [1],[2],[3],[4],[21] | $ 4,500,000 | [6],[7],[9],[10],[22] |  | 
| Investment, reference rate and spread |  | 7.80% | [1],[2],[3],[4],[21] | 7.80% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 8.00% | [1],[2],[3],[4],[21] | 13.10% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: Eegee’s LLC – Line of Credit |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | $ 1,500,000 | [16],[17],[21] | $ 0 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 0 |  |  |  |  | 
| Ending Balance |  | 1,135,000 | [21] | 0 | [22] |  | 
| Line of credit facility, available |  | $ 500,000 | [1],[2],[3],[4],[21] | $ 1,000,000 | [6],[7],[9],[10],[22] |  | 
| Investment, reference rate and spread |  | 7.80% | [1],[2],[3],[4],[21] | 7.80% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 12.60% | [1],[2],[3],[4],[21] | 13.10% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: Eegee’s LLC – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | $ 17,824,000 | [16],[17],[21] | $ 17,000,000 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 16,235,000 |  |  |  |  | 
| Ending Balance |  | $ 13,486,000 | [21] | $ 16,235,000 | [22] |  | 
| Investment, reference rate and spread |  | 7.80% | [1],[2],[3],[4],[21] | 7.80% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 8.00% | [1],[2],[3],[4],[21] | 13.10% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: Encore Dredging Holdings, LLC – Preferred Stock |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 3,840,000 | [16],[17],[24],[25] | 3,840,000 | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 4,265,000 |  |  |  |  | 
| Ending Balance |  | $ 3,168,000 | [24],[25] | $ 4,265,000 | [26],[27] |  | 
| Investment, Identifier [Axis]: Encore Dredging Holdings, LLC—Preferred Stock |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 3,840,000 |  |  |  |  | 
| Net Realized Gain (Loss) for Period |  | $ 0 |  |  |  |  | 
| Amount of Investment Income |  | 0 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance |  | 4,265,000 |  |  |  |  | 
| Gross Additions |  | 0 |  |  |  |  | 
| Gross Reductions |  | 0 |  |  |  |  | 
| Net Unrealized Appreciation (Depreciation) |  | (1,097,000) |  |  |  |  | 
| Ending Balance |  | $ 3,168,000 |  | $ 4,265,000 |  |  | 
| Investment, Identifier [Axis]: Engineering Manufacturing Technologies, LLC – Common Stock |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 6,000 | [16],[17],[24],[25] | 6,000 | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 0 |  |  |  |  | 
| Ending Balance |  | 0 | [24],[25] | $ 0 | [26],[27] |  | 
| Investment, Identifier [Axis]: Engineering Manufacturing Technologies, LLC – Line of Credit |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | 0 | [16],[17],[25] | 0 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 0 |  |  |  |  | 
| Ending Balance |  | 0 | [25] | 0 | [22] |  | 
| Line of credit facility, available |  | $ 3,000,000 | [1],[2],[3],[4],[25] | $ 3,000,000 | [6],[7],[9],[10],[22] |  | 
| Investment, reference rate and spread |  | 8.30% | [1],[2],[3],[4],[25] | 8.30% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 13.10% | [1],[2],[3],[4],[25] | 13.60% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: Engineering Manufacturing Technologies, LLC – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [16],[17],[25] | $ 22,230,000 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Ending Balance | [25] | $ 19,283,000 |  |  |  |  | 
| Investment, reference rate and spread | [1],[2],[3],[4],[25] | 8.30% |  |  |  |  | 
| Investment, interest rate, paid in cash | [1],[2],[3],[4],[25] | 10.00% |  |  |  |  | 
| Investment, Identifier [Axis]: Engineering Manufacturing Technologies, LLC – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [19],[20],[22] |  |  | $ 21,500,000 |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | $ 19,726,000 |  |  |  |  | 
| Ending Balance | [22] |  |  | $ 19,726,000 |  |  | 
| Investment, reference rate and spread | [6],[7],[9],[10],[22] |  |  | 8.30% |  |  | 
| Investment, interest rate, paid in cash | [6],[7],[9],[10],[22] |  |  | 13.60% |  |  | 
| Investment, Identifier [Axis]: FES Resources Holdings LLC – Common Equity Units |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 6,233 | [16],[17],[24],[25] | 6,233 | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 0 |  |  |  |  | 
| Ending Balance |  | $ 0 | [24],[25] | $ 0 | [26],[27] |  | 
| Investment, Identifier [Axis]: FES Resources Holdings LLC – Preferred Equity Units |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 6,350 | [16],[17],[24],[25] | 6,350 | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 4,508,000 |  |  |  |  | 
| Ending Balance |  | 0 | [24],[25] | $ 4,508,000 | [26],[27] |  | 
| Investment, Identifier [Axis]: FES Resources Holdings LLC – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [16],[17],[25],[32] | 325,000 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Ending Balance | [25],[32] | $ 163,000 |  |  |  |  | 
| Investment, interest rate, paid in cash | [1],[2],[3],[4],[25],[32] | 4.50% |  |  |  |  | 
| Investment, Identifier [Axis]: Fix-It Group, LLC – Delayed Draw Term Loan |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | $ 6,781,000 | [16],[17],[21] | 6,911,000 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 6,894,000 |  |  |  |  | 
| Ending Balance |  | 6,781,000 | [21] | 6,894,000 | [22] |  | 
| Line of credit facility, available |  | $ 0 | [1],[2],[3],[4],[21] | $ 0 | [6],[7],[9],[10],[22] |  | 
| Investment, reference rate and spread |  | 7.10% | [1],[2],[3],[4],[21] | 8.10% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 11.90% | [1],[2],[3],[4],[21] | 13.40% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: Fix-It Group, LLC – Line of Credit |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | $ 0 | [16],[17],[21] | $ 500,000 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 499,000 |  |  |  |  | 
| Ending Balance |  | 0 | [21] | 499,000 | [22] |  | 
| Line of credit facility, available |  | $ 3,000,000 | [1],[2],[3],[4],[21] | $ 2,500,000 | [6],[7],[9],[10],[22] |  | 
| Investment, reference rate and spread |  | 7.10% | [1],[2],[3],[4],[21] | 8.10% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 11.90% | [1],[2],[3],[4],[21] | 13.40% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: Fix-It Group, LLC – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | $ 13,324,000 | [16],[17],[21] | $ 12,200,000 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 12,170,000 |  |  |  |  | 
| Ending Balance |  | $ 13,457,000 | [21] | $ 12,170,000 | [22] |  | 
| Investment, reference rate and spread |  | 7.10% | [1],[2],[3],[4],[21] | 8.10% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 11.90% | [1],[2],[3],[4],[21] | 13.40% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: Frontier Financial Group Inc. – Convertible Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | $ 198,000 | [16],[17],[25],[32] | $ 198,000 | [19],[20],[27],[33] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [27],[33] | 24,000 |  |  |  |  | 
| Ending Balance |  | $ 32,000 | [25],[32] | $ 24,000 | [27],[33] |  | 
| Investment, interest rate, paid in cash |  | 6.00% | [1],[2],[3],[4],[25],[32] | 6.00% | [6],[7],[9],[10],[27],[33] |  | 
| Investment, Identifier [Axis]: Frontier Financial Group Inc. – Preferred Stock |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 766 | [16],[17],[24],[25] | 766 | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 0 |  |  |  |  | 
| Ending Balance |  | $ 0 | [24],[25] | $ 0 | [26],[27] |  | 
| Investment, Identifier [Axis]: Frontier Financial Group Inc. – Preferred Stock Warrant |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 168 | [16],[17],[24],[25] | 168 | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 0 |  |  |  |  | 
| Ending Balance |  | 0 | [24],[25] | $ 0 | [26],[27] |  | 
| Investment, Identifier [Axis]: Funko Acquisition Holdings, LLC(S) – Common Units |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares | [19],[20],[26],[29],[35] |  |  | 4,239 |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[29],[35] | $ 22,000 |  |  |  |  | 
| Ending Balance | [26],[29],[35] |  |  | $ 22,000 |  |  | 
| Investment, Identifier [Axis]: GFRC 360, LLC – Common Stock Warrants |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Units |  | 45.00% | [16],[17],[24],[25] | 45.00% | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 0 |  |  |  |  | 
| Ending Balance |  | 0 | [24],[25] | $ 0 | [26],[27] |  | 
| Investment, Identifier [Axis]: GFRC 360, LLC – Line of Credit |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | 1,355,000 | [16],[17],[21] | 1,275,000 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 1,205,000 |  |  |  |  | 
| Ending Balance |  | 1,355,000 | [21] | 1,205,000 | [22] |  | 
| Line of credit facility, available |  | $ 95,000 | [1],[2],[3],[4],[21] | $ 175,000 | [6],[7],[9],[10],[22] |  | 
| Investment, reference rate and spread |  | 8.00% | [1],[2],[3],[4],[21] | 8.00% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 12.80% | [1],[2],[3],[4],[21] | 13.30% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: GFRC 360, LLC – Preferred Stock |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 1,000 | [16],[17],[24],[25] | 1,000 | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 253,000 |  |  |  |  | 
| Ending Balance |  | 0 | [24],[25] | $ 253,000 | [26],[27] |  | 
| Investment, Identifier [Axis]: GFRC 360, LLC – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | 1,000,000 | [16],[17],[21] | 1,000,000 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 945,000 |  |  |  |  | 
| Ending Balance |  | $ 1,000,000 | [21] | $ 945,000 | [22] |  | 
| Investment, reference rate and spread |  | 8.00% | [1],[2],[3],[4],[21] | 8.00% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 12.80% | [1],[2],[3],[4],[21] | 13.30% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: GSM MidCo LLC – Common Stock |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 767 | [16],[17],[24],[25] | 767 | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 1,562,000 |  |  |  |  | 
| Ending Balance |  | 1,583,000 | [24],[25] | $ 1,562,000 | [26],[27] |  | 
| Investment, Identifier [Axis]: Giving Home Health Care, LLC – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [19],[20],[22],[33] |  |  | 28,800,000 |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22],[33] | $ 28,800,000 |  |  |  |  | 
| Ending Balance | [22],[33] |  |  | $ 28,800,000 |  |  | 
| Investment, interest rate, paid in cash | [6],[7],[9],[10],[22],[33] |  |  | 12.50% |  |  | 
| Investment, Identifier [Axis]: Giving Home Health Care, LLC – Warrant |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 10,667 | [16],[17],[24],[25] | 10,667 | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 2,794,000 |  |  |  |  | 
| Ending Balance |  | 3,995,000 | [24],[25] | $ 2,794,000 | [26],[27] |  | 
| Investment, Identifier [Axis]: Gray Matter Systems, LLC – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [19],[20],[22],[33] |  |  | 13,645,000 |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22],[33] | 13,645,000 |  |  |  |  | 
| Ending Balance | [22],[33] |  |  | $ 13,645,000 |  |  | 
| Investment, interest rate, paid in cash | [6],[7],[9],[10],[22],[33] |  |  | 12.00% |  |  | 
| Investment, Identifier [Axis]: HH-Inspire Acquisition, Inc. – Line of Credit |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | 1,727,000 | [16],[17],[21],[36] | $ 1,359,000 | [19],[20],[22],[31] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22],[31] | 1,347,000 |  |  |  |  | 
| Ending Balance |  | 1,677,000 | [21],[36] | 1,347,000 | [22],[31] |  | 
| Line of credit facility, available |  | $ 110,000 | [1],[2],[3],[4],[21],[36] | $ 478,000 | [6],[7],[9],[10],[22],[31] |  | 
| Investment, reference rate and spread |  | 8.00% | [1],[2],[3],[4],[21],[36] | 8.00% | [6],[7],[9],[10],[22],[31] |  | 
| Investment, interest rate, paid in cash |  | 12.80% | [1],[2],[3],[4],[21],[36] | 13.40% | [6],[7],[9],[10],[22],[31] |  | 
| Investment, Identifier [Axis]: HH-Inspire Acquisition, Inc. – Preferred Stock |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 1,329,054 | [16],[17],[24],[25] | 1,329,054 | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 3,451,000 |  |  |  |  | 
| Ending Balance |  | 1,047,000 | [24],[25] | $ 3,451,000 | [26],[27] |  | 
| Investment, Identifier [Axis]: HH-Inspire Acquisition, Inc. – Term Debt 1 |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | 15,852,000 | [16],[17],[21],[36] | 16,013,000 | [19],[20],[22],[31] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22],[31] | 15,872,000 |  |  |  |  | 
| Ending Balance |  | $ 15,399,000 | [21],[36] | $ 15,872,000 | [22],[31] |  | 
| Investment, reference rate and spread |  | 8.00% | [1],[2],[3],[4],[21],[36] | 8.00% | [6],[7],[9],[10],[22],[31] |  | 
| Investment, interest rate, paid in cash |  | 12.80% | [1],[2],[3],[4],[21],[36] | 13.40% | [6],[7],[9],[10],[22],[31] |  | 
| Investment, Identifier [Axis]: HH-Inspire Acquisition, Inc. – Term Debt 2 |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | $ 3,193,000 | [16],[17],[21],[36] | $ 3,225,000 | [19],[20],[22],[31] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22],[31] | 3,197,000 |  |  |  |  | 
| Ending Balance |  | $ 3,102,000 | [21],[36] | $ 3,197,000 | [22],[31] |  | 
| Investment, reference rate and spread |  | 8.00% | [1],[2],[3],[4],[21],[36] | 8.00% | [6],[7],[9],[10],[22],[31] |  | 
| Investment, interest rate, paid in cash |  | 12.80% | [1],[2],[3],[4],[21],[36] | 13.40% | [6],[7],[9],[10],[22],[31] |  | 
| Investment, Identifier [Axis]: Imperative Holdings Corporation – Preferred Equity Units |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 972,569 | [16],[17],[24],[25] | 972,569 | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 2,318,000 |  |  |  |  | 
| Ending Balance |  | 2,275,000 | [24],[25] | $ 2,318,000 | [26],[27] |  | 
| Investment, Identifier [Axis]: Imperative Holdings Corporation – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | 18,015,000 | [16],[17],[21] | 21,015,000 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 20,858,000 |  |  |  |  | 
| Ending Balance |  | $ 18,015,000 | [21] | $ 20,858,000 | [22] |  | 
| Investment, reference rate and spread |  | 9.80% | [1],[2],[3],[4],[21] | 9.80% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 14.60% | [1],[2],[3],[4],[21] | 15.10% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: Leadpoint Business Services, LLC – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | $ 25,500,000 | [16],[17],[21] | $ 13,500,000 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 13,399,000 |  |  |  |  | 
| Ending Balance |  | $ 26,010,000 | [21] | $ 13,399,000 | [22] |  | 
| Investment, reference rate and spread |  | 8.50% | [1],[2],[3],[4],[21] | 8.50% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 13.30% | [1],[2],[3],[4],[21] | 13.80% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: Leeds Novamark Capital I, L.P. – Limited Partnership Interest |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Units |  | 3.50% | [16],[17],[24],[37],[38] | 3.50% | [19],[20],[26],[39],[40] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[39],[40] | $ 231,000 |  |  |  |  | 
| Ending Balance |  | 38,000 | [24],[37],[38] | $ 231,000 | [26],[39],[40] |  | 
| Line of credit facility, available |  | 843,000 | [1],[2],[3],[4],[24],[37],[38] | 843,000 | [6],[7],[9],[10],[26],[39],[40] |  | 
| Investment, Identifier [Axis]: Lonestar EMS, LLC – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | 4,200,000 | [16],[17],[25],[32] | 3,927,000 | [19],[20],[27],[33] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [27],[33] | 3,927,000 |  |  |  |  | 
| Ending Balance |  | $ 4,200,000 | [25],[32] | 3,927,000 | [27],[33] |  | 
| Investment, interest rate, paid in cash | [1],[2],[3],[4],[25],[32] | 12.00% |  |  |  |  | 
| Investment, Identifier [Axis]: Lonestar EMS, LLC - Common Units |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Units |  | 100.00% |  |  |  |  | 
| Net Realized Gain (Loss) for Period |  | $ 0 |  |  |  |  | 
| Amount of Investment Income |  | 0 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance |  | 0 |  |  |  |  | 
| Gross Additions |  | 0 |  |  |  |  | 
| Gross Reductions |  | 0 |  |  |  |  | 
| Net Unrealized Appreciation (Depreciation) |  | 8,214,000 |  |  |  |  | 
| Ending Balance |  | $ 8,214,000 |  | $ 0 |  |  | 
| Investment, Identifier [Axis]: Lonestar EMS, LLC – Common Units |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Units |  | 100.00% | [16],[17],[24],[25] | 100.00% | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 0 |  |  |  |  | 
| Ending Balance |  | 8,214,000 | [24],[25] | $ 0 | [26],[27] |  | 
| Investment, Identifier [Axis]: Lonestar EMS, LLC — Delayed Draw Term Loan |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | 0 |  |  |  |  | 
| Net Realized Gain (Loss) for Period |  | 0 |  |  |  |  | 
| Amount of Investment Income |  | 8,000 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance |  | 0 |  |  |  |  | 
| Gross Additions |  | 100,000 |  |  |  |  | 
| Gross Reductions |  | (100,000) |  |  |  |  | 
| Net Unrealized Appreciation (Depreciation) |  | 0 |  |  |  |  | 
| Ending Balance |  | 0 |  | 0 |  |  | 
| Investment, Identifier [Axis]: Lonestar EMS, LLC—Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | 4,200,000 |  |  |  |  | 
| Net Realized Gain (Loss) for Period |  | 0 |  |  |  |  | 
| Amount of Investment Income |  | 394,000 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance |  | 3,927,000 |  |  |  |  | 
| Gross Additions |  | 203,000 |  |  |  |  | 
| Gross Reductions |  | 0 |  |  |  |  | 
| Net Unrealized Appreciation (Depreciation) |  | 70,000 |  |  |  |  | 
| Ending Balance |  | $ 4,200,000 |  | $ 3,927,000 |  |  | 
| Investment, Identifier [Axis]: MCG Energy Solutions, LLC – Preferred Stock |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 7,000,000 | [16],[17],[24],[25] | 7,000,000 | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 8,904,000 |  |  |  |  | 
| Ending Balance |  | 9,954,000 | [24],[25] | $ 8,904,000 | [26],[27] |  | 
| Investment, Identifier [Axis]: MCG Energy Solutions, LLC – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | 20,290,000 | [16],[17],[25] | 20,146,000 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 17,628,000 |  |  |  |  | 
| Ending Balance |  | $ 20,290,000 | [25] | $ 17,628,000 | [22] |  | 
| Investment, reference rate and spread |  | 7.60% | [1],[2],[3],[4],[25] | 7.60% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 12.40% | [1],[2],[3],[4],[25] | 12.90% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: NeoGraf Solutions LLC – Common Stock |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 2,000,000 | [16],[17],[24],[25] | 2,000,000 | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 0 |  |  |  |  | 
| Ending Balance |  | 859,000 | [24],[25] | $ 0 | [26],[27] |  | 
| Investment, Identifier [Axis]: NeoGraf Solutions LLC – Line of Credit |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [16],[17],[21] | 0 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Ending Balance | [21] | 0 |  |  |  |  | 
| Line of credit facility, available |  | $ 4,500,000 | [1],[2],[3],[4],[21] | $ 4,500,000 | [6],[7],[9],[10],[22] |  | 
| Investment, reference rate and spread |  | 7.00% | [1],[2],[3],[4],[21] | 7.00% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 11.00% | [1],[2],[3],[4],[21] | 11.00% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: NeoGraf Solutions LLC – Line of Credit, $4,500 available |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [19],[20],[22] |  |  | $ 0 |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | $ 0 |  |  |  |  | 
| Ending Balance | [22] |  |  | 0 |  |  | 
| Investment, Identifier [Axis]: NeoGraf Solutions LLC – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [16],[17],[21] | 27,524,000 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Ending Balance | [21] | $ 26,350,000 |  |  |  |  | 
| Investment, reference rate and spread | [1],[2],[3],[4],[21] | 7.00% |  |  |  |  | 
| Investment, interest rate, paid in cash | [1],[2],[3],[4],[21] | 11.00% |  |  |  |  | 
| Investment, Identifier [Axis]: NeoGraf Solutions LLC – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [19],[20],[22] |  |  | 27,154,000 |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | $ 26,000,000 |  |  |  |  | 
| Ending Balance | [22] |  |  | $ 26,000,000 |  |  | 
| Investment, reference rate and spread | [6],[7],[9],[10],[22] |  |  | 7.00% |  |  | 
| Investment, interest rate, paid in cash | [6],[7],[9],[10],[22] |  |  | 11.00% |  |  | 
| Investment, Identifier [Axis]: OCI, LLC – Common Units |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 306 | [16],[17],[24],[25] | 306 | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 0 |  |  |  |  | 
| Ending Balance |  | 0 | [24],[25] | $ 0 | [26],[27] |  | 
| Investment, Identifier [Axis]: OCI, LLC – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [19],[20],[22] |  |  | 20,000,000 |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 19,800,000 |  |  |  |  | 
| Ending Balance | [22] |  |  | $ 19,800,000 |  |  | 
| Investment, reference rate and spread | [6],[7],[9],[10],[22] |  |  | 7.50% |  |  | 
| Investment, interest rate, paid in cash | [6],[7],[9],[10],[22] |  |  | 12.80% |  |  | 
| Investment, Identifier [Axis]: OCI, LLC – Term Debt 1 |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [16],[17],[21] | 18,500,000 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Ending Balance | [21] | $ 18,685,000 |  |  |  |  | 
| Investment, reference rate and spread | [1],[2],[3],[4],[21] | 7.50% |  |  |  |  | 
| Investment, interest rate, paid in cash | [1],[2],[3],[4],[21] | 12.30% |  |  |  |  | 
| Investment, Identifier [Axis]: OCI, LLC – Term Debt 2 |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | $ 2,159,000 | [16],[17],[21],[32] | $ 2,012,000 | [19],[20],[22],[33] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22],[33] | 1,992,000 |  |  |  |  | 
| Ending Balance |  | $ 2,303,000 | [21],[32] | $ 1,992,000 | [22],[33] |  | 
| Investment, interest rate, paid in cash |  | 7.00% | [1],[2],[3],[4],[21],[32] | 7.00% | [6],[7],[9],[10],[22],[33] |  | 
| Investment, Identifier [Axis]: Ohio Armor Holdings, LLC – Common Equity |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 100 | [16],[17],[24],[25] | 100 | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 680,000 |  |  |  |  | 
| Ending Balance |  | 1,086,000 | [24],[25] | $ 680,000 | [26],[27] |  | 
| Investment, Identifier [Axis]: Ohio Armor Holdings, LLC – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [16],[17],[21] | 16,563,000 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Ending Balance | [21] | $ 16,563,000 |  |  |  |  | 
| Investment, reference rate and spread | [1],[2],[3],[4],[21] | 8.00% |  |  |  |  | 
| Investment, interest rate, paid in cash | [1],[2],[3],[4],[21] | 12.80% |  |  |  |  | 
| Investment, Identifier [Axis]: Ohio Armor Holdings, LLC – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [19],[20],[22] |  |  | 17,738,000 |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | $ 17,294,000 |  |  |  |  | 
| Ending Balance | [22] |  |  | $ 17,294,000 |  |  | 
| Investment, reference rate and spread | [6],[7],[9],[10],[22] |  |  | 8.00% |  |  | 
| Investment, interest rate, paid in cash | [6],[7],[9],[10],[22] |  |  | 13.30% |  |  | 
| Investment, Identifier [Axis]: PIC 360, LLC – Common Equity Units |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares | [19],[20],[26],[27] |  |  | 750 |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 284,000 |  |  |  |  | 
| Ending Balance | [26],[27] |  |  | $ 284,000 |  |  | 
| Investment, Identifier [Axis]: PIC 360, LLC—Common Equity Units |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 0 |  |  |  |  | 
| Net Realized Gain (Loss) for Period |  | $ 259,000 |  |  |  |  | 
| Amount of Investment Income |  | 0 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance |  | 284,000 |  |  |  |  | 
| Gross Additions |  | 0 |  |  |  |  | 
| Gross Reductions |  | (1,000) |  |  |  |  | 
| Net Unrealized Appreciation (Depreciation) |  | (283,000) |  |  |  |  | 
| Ending Balance |  | 0 |  | 284,000 |  |  | 
| Investment, Identifier [Axis]: Pansophic Learning, Ltd. – Term Debt 1 |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [19],[20],[22],[31] |  |  | 28,000,000 |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22],[31] | 27,965,000 |  |  |  |  | 
| Ending Balance | [22],[31] |  |  | $ 27,965,000 |  |  | 
| Investment, reference rate and spread | [6],[7],[9],[10],[22],[31] |  |  | 7.50% |  |  | 
| Investment, interest rate, paid in cash | [6],[7],[9],[10],[22],[31] |  |  | 12.90% |  |  | 
| Investment, Identifier [Axis]: Pansophic Learning, Ltd. – Term Debt 2 |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [19],[20],[22],[31] |  |  | $ 5,000,000 |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22],[31] | 4,994,000 |  |  |  |  | 
| Ending Balance | [22],[31] |  |  | $ 4,994,000 |  |  | 
| Investment, reference rate and spread | [6],[7],[9],[10],[22],[31] |  |  | 7.50% |  |  | 
| Investment, interest rate, paid in cash | [6],[7],[9],[10],[22],[31] |  |  | 12.90% |  |  | 
| Investment, Identifier [Axis]: Perimeter Solutions Group – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [16],[17],[21],[23] | 15,000,000 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Ending Balance | [21],[23] | $ 15,000,000 |  |  |  |  | 
| Investment, reference rate and spread | [1],[2],[3],[4],[21],[23] | 8.50% |  |  |  |  | 
| Investment, interest rate, paid in cash | [1],[2],[3],[4],[21],[23] | 13.30% |  |  |  |  | 
| Investment, Identifier [Axis]: Quality Environmental Midco, Inc. – Line of Credit |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [16],[17],[21],[32] | $ 0 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Ending Balance | [21],[32] | 0 |  |  |  |  | 
| Line of credit facility, available | [1],[2],[3],[4],[21],[32] | $ 3,000,000 |  |  |  |  | 
| Investment, interest rate, paid in cash | [1],[2],[3],[4],[21],[32] | 12.00% |  |  |  |  | 
| Investment, Identifier [Axis]: Quality Environmental Midco, Inc. – Preferred Equity |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares | [16],[17],[24],[25] | 3,000,000 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Ending Balance | [24],[25] | $ 3,582,000 |  |  |  |  | 
| Investment, Identifier [Axis]: Quality Environmental Midco, Inc. – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [16],[17],[21],[32] | 13,000,000 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Ending Balance | [21],[32] | $ 13,390,000 |  |  |  |  | 
| Investment, interest rate, paid in cash | [1],[2],[3],[4],[21],[32] | 12.00% |  |  |  |  | 
| Investment, Identifier [Axis]: RPM Freight Systems, LLC – Delayed Draw Term Loan |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [16],[17],[21] | $ 0 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Ending Balance | [21] | 0 |  |  |  |  | 
| Line of credit facility, available | [1],[2],[3],[4],[21] | $ 5,000,000 |  |  |  |  | 
| Investment, reference rate and spread | [1],[2],[3],[4],[21] | 7.70% |  |  |  |  | 
| Investment, interest rate, paid in cash | [1],[2],[3],[4],[21] | 12.50% |  |  |  |  | 
| Investment, Identifier [Axis]: RPM Freight Systems, LLC – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [16],[17],[21] | $ 20,000,000 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Ending Balance | [21] | $ 20,200,000 |  |  |  |  | 
| Investment, reference rate and spread | [1],[2],[3],[4],[21] | 7.70% |  |  |  |  | 
| Investment, interest rate, paid in cash | [1],[2],[3],[4],[21] | 12.50% |  |  |  |  | 
| Investment, Identifier [Axis]: Salt & Straw, LLC – Common Warrant |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Units |  | 0.40% | [16],[17],[24],[25] | 0.40% | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 31,000 |  |  |  |  | 
| Ending Balance |  | 47,000 | [24],[25] | $ 31,000 | [26],[27] |  | 
| Investment, Identifier [Axis]: Salt & Straw, LLC – Delayed Draw Term Loan |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | 10,850,000 | [16],[17],[21] | 10,200,000 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 9,715,000 |  |  |  |  | 
| Ending Balance |  | 10,850,000 | [21] | 9,715,000 | [22] |  | 
| Line of credit facility, available |  | $ 3,500,000 | [1],[2],[3],[4],[21] | $ 1,300,000 | [6],[7],[9],[10],[22] |  | 
| Investment, reference rate and spread |  | 9.10% | [1],[2],[3],[4],[21] | 9.10% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 13.90% | [1],[2],[3],[4],[21] | 14.40% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: Salt & Straw, LLC – Line of Credit |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | $ 0 | [16],[17],[21] | $ 0 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 0 |  |  |  |  | 
| Ending Balance |  | 0 | [21] | 0 | [22] |  | 
| Line of credit facility, available |  | $ 2,000,000 | [1],[2],[3],[4],[21] | $ 2,000,000 | [6],[7],[9],[10],[22] |  | 
| Investment, reference rate and spread |  | 9.10% | [1],[2],[3],[4],[21] | 9.10% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 13.90% | [1],[2],[3],[4],[21] | 14.40% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: Salt & Straw, LLC – Preferred Equity |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares | [16],[17],[24],[25] | 7,000,000 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Ending Balance | [24],[25] | $ 9,450,000 |  |  |  |  | 
| Investment, Identifier [Axis]: Salvo Technologies, Inc. – Preferred Stock |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares | [19],[20],[26],[27] |  |  | 2,500 |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | 1,225,000 |  |  |  |  | 
| Ending Balance | [26],[27] |  |  | $ 1,225,000 |  |  | 
| Investment, Identifier [Axis]: Salvo Technologies, Inc. – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [19],[20],[22] |  |  | 11,768,000 |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | $ 10,900,000 |  |  |  |  | 
| Ending Balance | [22] |  |  | $ 10,900,000 |  |  | 
| Investment, reference rate and spread | [6],[7],[9],[10],[22] |  |  | 9.50% |  |  | 
| Investment, interest rate, paid in cash | [6],[7],[9],[10],[22] |  |  | 14.80% |  |  | 
| Investment, Identifier [Axis]: Sea Link International IRB, Inc. – Preferred Stock |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 98,039 | [16],[17],[24],[25] | 98,039 | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 183,000 |  |  |  |  | 
| Ending Balance |  | 220,000 | [24],[25] | $ 183,000 | [26],[27] |  | 
| Investment, Identifier [Axis]: Sea Link International IRB, Inc. – Term Debt 1 |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | 12,331,000 | [16],[17],[21],[32] | 12,083,000 | [19],[20],[22],[33] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22],[33] | 11,675,000 |  |  |  |  | 
| Ending Balance |  | $ 12,331,000 | [21],[32] | $ 11,675,000 | [22],[33] |  | 
| Investment, interest rate, paid in cash |  | 11.30% | [1],[2],[3],[4],[21],[32] | 11.30% | [6],[7],[9],[10],[22],[33] |  | 
| Investment, Identifier [Axis]: Sea Link International IRB, Inc. – Term Debt 2 |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | $ 4,079,000 | [16],[17],[21],[32] | $ 4,000,000 | [19],[20],[22],[33] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22],[33] | 4,000,000 |  |  |  |  | 
| Ending Balance |  | $ 4,079,000 | [21],[32] | $ 4,000,000 | [22],[33] |  | 
| Investment, interest rate, paid in cash |  | 12.00% | [1],[2],[3],[4],[21],[32] | 12.00% | [6],[7],[9],[10],[22],[33] |  | 
| Investment, Identifier [Axis]: Sea Link International IRB, Inc.– Common Equity Units |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 823,333 | [16],[17],[24],[25] | 823,333 | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 340,000 |  |  |  |  | 
| Ending Balance |  | $ 160,000 | [24],[25] | $ 340,000 | [26],[27] |  | 
| Investment, Identifier [Axis]: Sokol & Company Holdings, LLC – Common Stock |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 1,500,000 | [16],[17],[24],[25] | 1,500,000 | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 1,612,000 |  |  |  |  | 
| Ending Balance |  | 2,727,000 | [24],[25] | $ 1,612,000 | [26],[27] |  | 
| Investment, Identifier [Axis]: Sokol & Company Holdings, LLC – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | 8,500,000 | [16],[17],[21] | 13,500,000 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 13,095,000 |  |  |  |  | 
| Ending Balance |  | $ 8,500,000 | [21] | $ 13,095,000 | [22] |  | 
| Investment, reference rate and spread |  | 6.80% | [1],[2],[3],[4],[21] | 7.00% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 11.60% | [1],[2],[3],[4],[21] | 12.30% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: SpaceCo Holdings, LLC – Line of Credit |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | $ 2,000,000 | [16],[17],[21],[36] | $ 1,450,000 | [19],[20],[22],[31] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22],[31] | 1,434,000 |  |  |  |  | 
| Ending Balance |  | 2,000,000 | [21],[36] | 1,434,000 | [22],[31] |  | 
| Line of credit facility, available |  | $ 0 | [1],[2],[3],[4],[21],[36] | $ 550,000 | [6],[7],[9],[10],[22] |  | 
| Investment, reference rate and spread |  | 6.40% | [1],[2],[3],[4],[21],[36] | 7.20% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 11.00% | [1],[2],[3],[4],[21],[36] | 12.50% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: SpaceCo Holdings, LLC – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | $ 42,757,000 | [16],[17],[21],[36] | $ 30,284,000 | [19],[20],[22],[31] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22],[31] | 29,944,000 |  |  |  |  | 
| Ending Balance |  | $ 42,757,000 | [21],[36] | $ 29,944,000 | [22],[31] |  | 
| Investment, reference rate and spread |  | 6.40% | [1],[2],[3],[4],[21],[36] | 7.20% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 11.00% | [1],[2],[3],[4],[21],[36] | 12.50% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: Springfield, Inc. – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | $ 30,000,000 | [16],[17],[21] | $ 30,000,000 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 29,850,000 |  |  |  |  | 
| Ending Balance |  | $ 30,000,000 | [21] | $ 29,850,000 | [22] |  | 
| Investment, reference rate and spread |  | 11.10% | [1],[2],[3],[4],[21] | 10.10% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 15.90% | [1],[2],[3],[4],[21] | 15.40% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: TNCP Intermediate HoldCo, LLC – Common Equity Units |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 790,000 | [16],[17],[24],[25] | 790,000 | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 3,073,000 |  |  |  |  | 
| Ending Balance |  | 4,312,000 | [24],[25] | $ 3,073,000 | [26],[27] |  | 
| Investment, Identifier [Axis]: TNCP Intermediate HoldCo, LLC – Line of Credit |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | 0 | [16],[17],[25],[32] | 900,000 | [19],[20],[27],[33] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [27],[33] | 900,000 |  |  |  |  | 
| Ending Balance |  | 0 | [25],[32] | 900,000 | [27],[33] |  | 
| Line of credit facility, available | [6],[7],[9],[10],[27],[33] |  |  | $ 1,100,000 |  |  | 
| Investment, interest rate, paid in cash | [6],[7],[9],[10],[27],[33] |  |  | 8.00% |  |  | 
| Investment, Identifier [Axis]: TNCP Intermediate HoldCo, LLC—-Line of Credit |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | 0 |  |  |  |  | 
| Net Realized Gain (Loss) for Period |  | 0 |  |  |  |  | 
| Amount of Investment Income |  | 68,000 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance |  | 900,000 |  |  |  |  | 
| Gross Additions |  | 0 |  |  |  |  | 
| Gross Reductions |  | (900,000) |  |  |  |  | 
| Net Unrealized Appreciation (Depreciation) |  | 0 |  |  |  |  | 
| Ending Balance |  | 0 |  | $ 900,000 |  |  | 
| Line of credit facility, available | [1],[2],[3],[4],[25],[32] | $ 2,000,000 |  |  |  |  | 
| Investment, interest rate, paid in cash | [1],[2],[3],[4],[25],[32] | 11.00% |  |  |  |  | 
| Investment, Identifier [Axis]: TNCP Intermediate HoldCo, LLC—Common Equity Units |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 790,000 |  |  |  |  | 
| Net Realized Gain (Loss) for Period |  | $ 0 |  |  |  |  | 
| Amount of Investment Income |  | 0 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance |  | 3,073,000 |  |  |  |  | 
| Gross Additions |  | 0 |  |  |  |  | 
| Gross Reductions |  | 0 |  |  |  |  | 
| Net Unrealized Appreciation (Depreciation) |  | 1,239,000 |  |  |  |  | 
| Ending Balance |  | 4,312,000 |  | 3,073,000 |  |  | 
| Investment, Identifier [Axis]: Tailwind Smith Cooper Intermediate Corporation – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [18],[19],[20],[31] |  |  | 5,000,000 |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [18],[31] | $ 4,294,000 |  |  |  |  | 
| Ending Balance | [18],[31] |  |  | $ 4,294,000 |  |  | 
| Investment, reference rate and spread | [6],[7],[9],[10],[18],[31] |  |  | 9.00% |  |  | 
| Investment, interest rate, paid in cash | [6],[7],[9],[10],[18],[31] |  |  | 14.40% |  |  | 
| Investment, Identifier [Axis]: Technical Resource Management, LLC – Common Stock |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 2,000,000 | [16],[17],[24],[25] | 2,000,000 | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 1,415,000 |  |  |  |  | 
| Ending Balance |  | 34,000 | [24],[25] | $ 1,415,000 | [26],[27] |  | 
| Investment, Identifier [Axis]: Technical Resource Management, LLC – Delayed Draw Term Loan |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [19],[20],[22] |  |  | 0 |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 0 |  |  |  |  | 
| Ending Balance | [22] |  |  | 0 |  |  | 
| Line of credit facility, available | [6],[7],[9],[10],[22] |  |  | $ 2,500,000 |  |  | 
| Investment, reference rate and spread | [6],[7],[9],[10],[22] |  |  | 8.00% |  |  | 
| Investment, interest rate, paid in cash | [6],[7],[9],[10],[22] |  |  | 13.30% |  |  | 
| Investment, Identifier [Axis]: Technical Resource Management, LLC – Line of Credit |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | 2,000,000 | [16],[17],[21] | $ 2,000,000 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 1,970,000 |  |  |  |  | 
| Ending Balance |  | 2,008,000 | [21] | 1,970,000 | [22] |  | 
| Line of credit facility, available |  | $ 1,000,000 | [1],[2],[3],[4],[21] | $ 1,000,000 | [6],[7],[9],[10],[22] |  | 
| Investment, reference rate and spread |  | 8.00% | [1],[2],[3],[4],[21] | 8.00% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 12.80% | [1],[2],[3],[4],[21] | 13.30% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: Technical Resource Management, LLC – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | $ 23,234,000 | [16],[17],[21] | $ 23,000,000 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 22,655,000 |  |  |  |  | 
| Ending Balance |  | $ 23,327,000 | [21] | $ 22,655,000 | [22] |  | 
| Investment, reference rate and spread |  | 8.00% | [1],[2],[3],[4],[21] | 8.00% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 12.80% | [1],[2],[3],[4],[21] | 13.30% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: Torrent Photonics Holdco LLC – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [16],[17],[21] | $ 12,149,000 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Ending Balance | [21] | $ 12,265,000 |  |  |  |  | 
| Investment, reference rate and spread | [1],[2],[3],[4],[21] | 9.50% |  |  |  |  | 
| Investment, interest rate, paid in cash | [1],[2],[3],[4],[21] | 14.30% |  |  |  |  | 
| Investment, Identifier [Axis]: Torrent Photonics Holdco LLC – Preferred Stock |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares | [16],[17],[24],[25] | 2,650 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Ending Balance | [24],[25] | $ 552,000 |  |  |  |  | 
| Investment, Identifier [Axis]: Total Access Elevator, LLC – Common Equity |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares | [16],[17],[24],[25] | 750,000 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Ending Balance | [24],[25] | $ 1,234,000 |  |  |  |  | 
| Investment, Identifier [Axis]: Total Access Elevator, LLC – Delayed Draw Term Loan |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [16],[17],[21] | 0 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Ending Balance | [21] | 0 |  |  |  |  | 
| Line of credit facility, available | [1],[2],[3],[4],[21] | $ 2,500,000 |  |  |  |  | 
| Investment, reference rate and spread | [1],[2],[3],[4],[21] | 6.90% |  |  |  |  | 
| Investment, interest rate, paid in cash | [1],[2],[3],[4],[21] | 11.70% |  |  |  |  | 
| Investment, Identifier [Axis]: Total Access Elevator, LLC – Line of Credit |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [16],[17],[21] | $ 0 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Ending Balance | [21] | 0 |  |  |  |  | 
| Line of credit facility, available | [1],[2],[3],[4],[21] | $ 3,000,000 |  |  |  |  | 
| Investment, reference rate and spread | [1],[2],[3],[4],[21] | 6.90% |  |  |  |  | 
| Investment, interest rate, paid in cash | [1],[2],[3],[4],[21] | 11.70% |  |  |  |  | 
| Investment, Identifier [Axis]: Total Access Elevator, LLC – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [16],[17],[21] | $ 6,500,000 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Ending Balance | [21] | $ 6,695,000 |  |  |  |  | 
| Investment, reference rate and spread | [1],[2],[3],[4],[21] | 6.90% |  |  |  |  | 
| Investment, interest rate, paid in cash | [1],[2],[3],[4],[21] | 11.70% |  |  |  |  | 
| Investment, Identifier [Axis]: Total Safety Holdings, LLC – Common Equity |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 435 | [16],[17],[24],[25] | 435 | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 146,000 |  |  |  |  | 
| Ending Balance |  | $ 101,000 | [24],[25] | $ 146,000 | [26],[27] |  | 
| Investment, Identifier [Axis]: Triple H Food Processors, LLC – Common Stock |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 250,000 | [16],[17],[24],[25] | 250,000 | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 1,641,000 |  |  |  |  | 
| Ending Balance |  | $ 1,346,000 | [24],[25] | $ 1,641,000 | [26],[27] |  | 
| Investment, Identifier [Axis]: Triple H Food Processors, LLC – Preferred Stock |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 75 | [16],[17],[24],[25] | 75 | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 141,000 |  |  |  |  | 
| Ending Balance |  | 167,000 | [24],[25] | $ 141,000 | [26],[27] |  | 
| Investment, Identifier [Axis]: Trowbridge Chicago, LLC – Line of Credit |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [19],[20],[22] |  |  | 0 |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 0 |  |  |  |  | 
| Ending Balance | [22] |  |  | 0 |  |  | 
| Line of credit facility, available | [6],[7],[9],[10],[22] |  |  | $ 2,000,000 |  |  | 
| Investment, reference rate and spread | [6],[7],[9],[10],[22] |  |  | 7.00% |  |  | 
| Investment, interest rate, paid in cash | [6],[7],[9],[10],[22] |  |  | 12.30% |  |  | 
| Investment, Identifier [Axis]: Trowbridge Chicago, LLC – Preferred Stock |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares | [19],[20],[26],[27] |  |  | 242,105 |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | 750,000 |  |  |  |  | 
| Ending Balance | [26],[27] |  |  | $ 750,000 |  |  | 
| Investment, Identifier [Axis]: Trowbridge Chicago, LLC – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [19],[20],[22] |  |  | 5,750,000 |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 5,664,000 |  |  |  |  | 
| Ending Balance | [22] |  |  | $ 5,664,000 |  |  | 
| Investment, reference rate and spread | [6],[7],[9],[10],[22] |  |  | 7.00% |  |  | 
| Investment, interest rate, paid in cash | [6],[7],[9],[10],[22] |  |  | 12.30% |  |  | 
| Investment, Identifier [Axis]: Turn Key Health Clinics, LLC – Line of Credit |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | 0 | [16],[17],[21] | $ 500,000 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 499,000 |  |  |  |  | 
| Ending Balance |  | 0 | [21] | 499,000 | [22] |  | 
| Line of credit facility, available |  | $ 4,000,000 | [1],[2],[3],[4],[21] | $ 1,500,000 | [6],[7],[9],[10],[22] |  | 
| Investment, reference rate and spread |  | 7.30% | [1],[2],[3],[4],[21] | 7.30% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 12.10% | [1],[2],[3],[4],[21] | 12.60% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: Turn Key Health Clinics, LLC – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | $ 17,500,000 | [16],[17],[21] | $ 11,000,000 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 10,986,000 |  |  |  |  | 
| Ending Balance |  | $ 17,500,000 | [21] | $ 10,986,000 | [22] |  | 
| Investment, reference rate and spread |  | 7.30% | [1],[2],[3],[4],[21] | 7.30% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 12.10% | [1],[2],[3],[4],[21] | 12.60% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: Unirac Holdings, Inc. – Delayed Draw Term Loan |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | $ 1,097,000 | [16],[17],[21] | $ 1,108,000 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 1,111,000 |  |  |  |  | 
| Ending Balance |  | 1,108,000 | [21] | 1,111,000 | [22] |  | 
| Line of credit facility, available |  | $ 0 | [1],[2],[3],[4],[21] | $ 1,669,000 | [6],[7],[9],[10],[22] |  | 
| Investment, reference rate and spread |  | 6.50% | [1],[2],[3],[4],[21] | 6.50% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 11.30% | [1],[2],[3],[4],[21] | 11.80% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: Unirac Holdings, Inc. – Line of Credit |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | $ 978,000 | [16],[17],[21] | $ 978,000 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 980,000 |  |  |  |  | 
| Ending Balance |  | 978,000 | [21] | 980,000 | [22] |  | 
| Line of credit facility, available |  | $ 1,244,000 | [1],[2],[3],[4],[21] | $ 1,244,000 | [6],[7],[9],[10],[22] |  | 
| Investment, reference rate and spread |  | 6.50% | [1],[2],[3],[4],[21] | 6.50% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 11.30% | [1],[2],[3],[4],[21] | 11.80% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: Unirac Holdings, Inc. – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | $ 14,738,000 | [16],[17],[21] | $ 14,888,000 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 14,925,000 |  |  |  |  | 
| Ending Balance |  | $ 14,885,000 | [21] | $ 14,925,000 | [22] |  | 
| Investment, reference rate and spread |  | 6.50% | [1],[2],[3],[4],[21] | 6.50% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 11.30% | [1],[2],[3],[4],[21] | 11.80% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: Viva Railings, LLC – Line of Credit |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | $ 0 | [16],[17],[21] | $ 0 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 0 |  |  |  |  | 
| Ending Balance |  | 0 | [21] | 0 | [22] |  | 
| Line of credit facility, available |  | $ 4,000,000 | [1],[2],[3],[4],[21] | $ 4,000,000 | [6],[7],[9],[10],[22] |  | 
| Investment, reference rate and spread |  | 7.10% | [1],[2],[3],[4],[21] | 7.10% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 11.90% | [1],[2],[3],[4],[21] | 12.40% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: Viva Railings, LLC – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [16],[17],[21] | $ 20,202,000 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Ending Balance | [21] | $ 20,202,000 |  |  |  |  | 
| Investment, reference rate and spread | [1],[2],[3],[4],[21] | 7.10% |  |  |  |  | 
| Investment, interest rate, paid in cash | [1],[2],[3],[4],[21] | 11.90% |  |  |  |  | 
| Investment, Identifier [Axis]: Viva Railings, LLC – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount | [19],[20],[22] |  |  | $ 20,747,000 |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | $ 20,436,000 |  |  |  |  | 
| Ending Balance | [22] |  |  | $ 20,436,000 |  |  | 
| Investment, reference rate and spread | [6],[7],[9],[10],[22] |  |  | 7.10% |  |  | 
| Investment, interest rate, paid in cash | [6],[7],[9],[10],[22] |  |  | 12.40% |  |  | 
| Investment, Identifier [Axis]: WB Xcel Holdings, LLC - Common Warrant |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 1 |  |  |  |  | 
| Net Realized Gain (Loss) for Period |  | $ 0 |  |  |  |  | 
| Amount of Investment Income |  | 0 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance |  | 0 |  |  |  |  | 
| Gross Additions |  | 1,000 |  |  |  |  | 
| Gross Reductions |  | 0 |  |  |  |  | 
| Net Unrealized Appreciation (Depreciation) |  | (1,000) |  |  |  |  | 
| Ending Balance |  | $ 0 |  | $ 0 |  |  | 
| Investment, Identifier [Axis]: WB Xcel Holdings, LLC - Preferred Stock |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 333 |  |  |  |  | 
| Net Realized Gain (Loss) for Period |  | $ 0 |  |  |  |  | 
| Amount of Investment Income |  | 0 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance |  | 0 |  |  |  |  | 
| Gross Additions |  | 0 |  |  |  |  | 
| Gross Reductions |  | 0 |  |  |  |  | 
| Net Unrealized Appreciation (Depreciation) |  | 0 |  |  |  |  | 
| Ending Balance |  | $ 0 |  | 0 |  |  | 
| Investment, Identifier [Axis]: WB Xcel Holdings, LLC – Common Warrant |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares | [16],[17],[24],[25] | 1 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Ending Balance | [24],[25] | $ 0 |  |  |  |  | 
| Investment, Identifier [Axis]: WB Xcel Holdings, LLC – Line of Credit |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | 4,750,000 | [16],[17],[25],[30] | 1,468,000 | [19],[20],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [27] | 1,468,000 |  |  |  |  | 
| Ending Balance |  | 3,171,000 | [25],[30] | 1,468,000 | [27] |  | 
| Line of credit facility, available |  | $ 0 | [1],[2],[3],[4],[25],[30] | $ 32,000 | [6],[7],[9],[10],[27] |  | 
| Investment, reference rate and spread |  | 10.50% | [1],[2],[3],[4],[25],[30] | 10.50% | [6],[7],[9],[10],[27] |  | 
| Investment, interest rate, paid in cash |  | 15.30% | [1],[2],[3],[4],[25],[30] | 15.80% | [6],[7],[9],[10],[27] |  | 
| Investment, Identifier [Axis]: WB Xcel Holdings, LLC – Preferred Stock |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 333 | [16],[17],[24],[25] | 333 | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 0 |  |  |  |  | 
| Ending Balance |  | 0 | [24],[25] | $ 0 | [26],[27] |  | 
| Investment, Identifier [Axis]: WB Xcel Holdings, LLC – Term Debt |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | 9,775,000 | [16],[17],[25],[30] | 9,825,000 | [19],[20],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [27] | 9,825,000 |  |  |  |  | 
| Ending Balance |  | $ 6,525,000 | [25],[30] | $ 9,825,000 | [27] |  | 
| Investment, reference rate and spread |  | 10.50% | [1],[2],[3],[4],[25],[30] | 10.50% | [6],[7],[9],[10],[27] |  | 
| Investment, interest rate, paid in cash |  | 15.30% | [1],[2],[3],[4],[25],[30] | 15.80% | [6],[7],[9],[10],[27] |  | 
| Investment, Identifier [Axis]: WB Xcel Holdings, LLC—Line of Credit |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | $ 4,750,000 |  |  |  |  | 
| Net Realized Gain (Loss) for Period |  | 0 |  |  |  |  | 
| Amount of Investment Income |  | 59,000 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance |  | 1,468,000 |  |  |  |  | 
| Gross Additions |  | 3,282,000 |  |  |  |  | 
| Gross Reductions |  | 0 |  |  |  |  | 
| Net Unrealized Appreciation (Depreciation) |  | (1,579,000) |  |  |  |  | 
| Ending Balance |  | 3,171,000 |  | $ 1,468,000 |  |  | 
| Investment, Identifier [Axis]: WB Xcel Holdings, LLC—Term Loan |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | 9,775,000 |  |  |  |  | 
| Net Realized Gain (Loss) for Period |  | 0 |  |  |  |  | 
| Amount of Investment Income |  | 402,000 |  |  |  |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance |  | 9,825,000 |  |  |  |  | 
| Gross Additions |  | 0 |  |  |  |  | 
| Gross Reductions |  | (50,000) |  |  |  |  | 
| Net Unrealized Appreciation (Depreciation) |  | (3,250,000) |  |  |  |  | 
| Ending Balance |  | $ 6,525,000 |  | $ 9,825,000 |  |  | 
| Investment, Identifier [Axis]: WorkforceQA, LLC – Common Stock |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Shares |  | 532 | [16],[17],[24],[25] | 532 | [19],[20],[26],[27] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [26],[27] | $ 359,000 |  |  |  |  | 
| Ending Balance |  | 346,000 | [24],[25] | $ 359,000 | [26],[27] |  | 
| Investment, Identifier [Axis]: WorkforceQA, LLC – Line of Credit |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | 1,200,000 | [16],[17],[21] | 400,000 | [19],[20],[22] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22] | 400,000 |  |  |  |  | 
| Ending Balance |  | 1,200,000 | [21] | 400,000 | [22] |  | 
| Line of credit facility, available |  | $ 800,000 | [1],[2],[3],[4],[21] | $ 1,600,000 | [6],[7],[9],[10],[22] |  | 
| Investment, reference rate and spread |  | 6.50% | [1],[2],[3],[4],[21] | 6.50% | [6],[7],[9],[10],[22] |  | 
| Investment, interest rate, paid in cash |  | 11.30% | [1],[2],[3],[4],[21] | 11.80% | [6],[7],[9],[10],[22] |  | 
| Investment, Identifier [Axis]: WorkforceQA, LLC – Term Debt 1 |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | $ 16,306,000 | [16],[17],[21] | $ 10,000,000 | [19],[20],[22],[41] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22],[41] | 9,987,000 |  |  |  |  | 
| Ending Balance |  | $ 16,306,000 | [21] | $ 9,987,000 | [22],[41] |  | 
| Investment, reference rate and spread |  | 6.50% | [1],[2],[3],[4],[21] | 8.40% | [6],[7],[9],[10],[22],[41] |  | 
| Investment, interest rate, paid in cash |  | 11.30% | [1],[2],[3],[4],[21] | 13.70% | [6],[7],[9],[10],[22],[41] |  | 
| Investment, Identifier [Axis]: WorkforceQA, LLC – Term Debt 2 |  |  |  |  |  |  | 
| Investments in and Advances to Affiliates, Activity [Line Items] |  |  |  |  |  |  | 
| Principal amount |  | $ 2,406,000 | [16],[17],[21] | $ 1,600,000 | [19],[20],[22],[41] |  | 
| Investments in and Advances to Affiliates, at Fair Value [Roll Forward] |  |  |  |  |  |  | 
| Beginning Balance | [22],[41] | 1,598,000 |  |  |  |  | 
| Ending Balance |  | $ 2,406,000 | [21] | $ 1,598,000 | [22],[41] |  | 
| Investment, reference rate and spread |  | 7.50% | [1],[2],[3],[4],[21] | 9.30% | [6],[7],[9],[10],[22],[41] |  | 
| Investment, interest rate, paid in cash |  | 12.30% | [1],[2],[3],[4],[21] | 14.60% | [6],[7],[9],[10],[22],[41] |  | 
|  | 
|  |