Quarterly report pursuant to Section 13 or 15(d)

Consolidated Schedule of Investments In and Advances to Affiliates (Details)

v3.22.2.2
Consolidated Schedule of Investments In and Advances to Affiliates (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Dec. 31, 2021
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss) $ 5,031 $ 8,305 $ 3,302 $ 10,575  
Amount of Unrealized Gain/(Loss) (10,081) 38,631 (19,922) 117,072  
Control investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     (5,822) (4,459)  
Amount of Unrealized Gain/(Loss)     20,618 65,756  
Amount of Interest, Fees or Dividends Credited to Income     110,751 85,904  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     1,489,257 1,113,725  
Gross Additions     280,134 340,046  
Gross Reductions     128,214 117,553  
Ending balance 1,599,429 1,336,218 1,599,429 1,336,218  
Control investments | Midwest          
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Ending balance $ 346,535 $ 297,953 $ 346,535 $ 297,953  
Net assets, percentage 21.70% 25.90% 21.70% 25.90%  
Control investments | Northeast          
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Ending balance   $ 117,017   $ 117,017  
Net assets, percentage   10.80%   10.80%  
Control investments | Southeast          
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Ending balance $ 16,360 $ 44,538 $ 16,360 $ 44,538  
Net assets, percentage 1.00% 1.20% 1.00% 1.20%  
Control investments | Southwest          
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Ending balance $ 593,513 $ 573,437 $ 593,513 $ 573,437  
Net assets, percentage 37.10% 44.40% 37.10% 44.40%  
Control investments | West          
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Ending balance $ 498,340 $ 303,273 $ 498,340 $ 303,273  
Net assets, percentage 31.20% 37.30% 31.20% 37.30%  
Control investments | Northeast Region and Canada          
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Ending balance $ 144,681   $ 144,681    
Net assets, percentage 9.00%   9.00%    
Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 1,340 $ 3,962  
Amount of Unrealized Gain/(Loss)     3,703 30,518  
Amount of Interest, Fees or Dividends Credited to Income     38,300 34,785  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     549,214 366,301  
Gross Additions     92,606 195,509  
Gross Reductions     56,642 88,934  
Ending balance $ 552,581 $ 485,139 552,581 485,139  
Affiliate investments | Midwest          
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Ending balance $ 67,491 $ 41,535 $ 67,491 $ 41,535  
Net assets, percentage 12.20% 13.90% 12.20% 13.90%  
Affiliate investments | Northeast          
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Ending balance   $ 144,241   $ 144,241  
Net assets, percentage   21.70%   21.70%  
Affiliate investments | Southeast          
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Ending balance $ 196,507 $ 134,602 $ 196,507 $ 134,602  
Net assets, percentage 35.60% 40.50% 35.60% 40.50%  
Affiliate investments | Southwest          
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Ending balance $ 99,261 $ 109,522 $ 99,261 $ 109,522  
Net assets, percentage 18.00% 20.50% 18.00% 20.50%  
Affiliate investments | West          
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Ending balance $ 83,950 $ 55,239 $ 83,950 $ 55,239  
Net assets, percentage 15.20% 17.30% 15.20% 17.30%  
Affiliate investments | Northeast Region and Canada          
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Ending balance $ 105,372   $ 105,372    
Net assets, percentage 19.10%   19.10%    
Investment, Identifier [Axis]: Dalton US Inc., Secured Debt One August 16, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 11.13%   11.13%    
Spread [1],[2],[3] 8.00%   8.00%    
Investment, Identifier [Axis]: Dalton US Inc., Secured Debt Three August 16, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 11.31%   11.31%    
Spread [1],[2],[3] 8.00%   8.00%    
Investment, Identifier [Axis]: Dalton US Inc., Secured Debt Two August 16, 2022          
Schedule of Investments [Line Items]          
Spread [1],[2],[3],[4] 8.00%   8.00%    
Investment, Identifier [Axis]: Salient Partners L.P., Secured Debt September 30,2021          
Schedule of Investments [Line Items]          
Total Rate [5],[6]         6.00%
Spread [5],[6]         5.00%
Investment, Identifier [Axis]: Winter Services LLC, Secured Debt November 19,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         8.00%
Spread [6],[7]         7.00%
Investment, Identifier [Axis]: 2717 MH, L.P., LP Interests (2717 HPP-MS, L.P.) | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     0 0  
Amount of Interest, Fees or Dividends Credited to Income     0 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0 250  
Gross Additions     244 0  
Gross Reductions     0 250  
Ending balance $ 244 $ 0 244 0  
Investment, Identifier [Axis]: 2717 MH, L.P., LP Interests (2717 MH, L.P.) | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0 0  
Amount of Unrealized Gain/(Loss)     1,979 585  
Amount of Interest, Fees or Dividends Credited to Income     0 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     3,971 2,702  
Gross Additions     3,171 689  
Gross Reductions     0 0  
Ending balance 7,142 $ 3,391 7,142 $ 3,391  
Investment, Identifier [Axis]: AAC Holdings, Inc, Secured Debt | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate   18.00%   18.00%  
PIK Rate   8.00%   8.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       (89)  
Amount of Interest, Fees or Dividends Credited to Income       1,329  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       9,187  
Gross Additions       744  
Gross Reductions       223  
Ending balance   $ 9,708   9,708  
Investment, Identifier [Axis]: AAC Holdings, Inc, Warrants | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       (968)  
Amount of Interest, Fees or Dividends Credited to Income       0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       2,938  
Gross Additions       0  
Gross Reductions       968  
Ending balance   1,970   1,970  
Investment, Identifier [Axis]: AAC Holdings, Inc., Common Stock | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0 0  
Amount of Unrealized Gain/(Loss)     (2,004) (1,038)  
Amount of Interest, Fees or Dividends Credited to Income     0 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     2,079 3,148  
Gross Additions     0 0  
Gross Reductions     2,004 1,038  
Ending balance $ 75 2,110 $ 75 2,110  
Investment, Identifier [Axis]: AAC Holdings, Inc., Secured Debt | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 18.00%   18.00%    
PIK Rate 18.00%   18.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     143    
Amount of Interest, Fees or Dividends Credited to Income     1,492    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     9,794    
Gross Additions     1,182    
Gross Reductions     0    
Ending balance $ 10,976   $ 10,976    
Investment, Identifier [Axis]: AAC Holdings, Inc., Secured Debt December 11, 2020          
Schedule of Investments [Line Items]          
Total Rate [8] 18.00%   18.00%    
PIK Rate [8] 18.00%   18.00%    
Investment, Identifier [Axis]: AAC Holdings, Inc., Secured Debt December 11,2020          
Schedule of Investments [Line Items]          
Total Rate [5]         18.00%
PIK Rate [5]         8.00%
Investment, Identifier [Axis]: AAC Holdings, Inc., Warrant | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     (1,865)    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     1,940    
Gross Additions     0    
Gross Reductions     1,865    
Ending balance $ 75   $ 75    
Investment, Identifier [Axis]: AB Centers Acquisition Corporation, Secured Debt One September 06, 2022          
Schedule of Investments [Line Items]          
Spread [1],[2],[3],[4] 6.00%   6.00%    
Investment, Identifier [Axis]: AB Centers Acquisition Corporation, Secured Debt Three September 06, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 9.17%   9.17%    
Spread [1],[2],[3] 6.00%   6.00%    
Investment, Identifier [Axis]: AB Centers Acquisition Corporation, Secured Debt Two September 06, 2022          
Schedule of Investments [Line Items]          
Spread [1],[2],[3],[4] 6.00%   6.00%    
Investment, Identifier [Axis]: ADS Tactical, Inc. Secured Debt March 29, 2021          
Schedule of Investments [Line Items]          
Total Rate [3],[8] 8.80%   8.80%    
Spread [3],[8] 5.75%   5.75%    
Investment, Identifier [Axis]: ADS Tactical, Inc., Secured Debt March 29,2021          
Schedule of Investments [Line Items]          
Total Rate [5],[6]         6.75%
Spread [5],[6]         5.75%
Investment, Identifier [Axis]: AFG Capital Group, LLC, Preferred Member Units | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       1,570  
Amount of Interest, Fees or Dividends Credited to Income       200  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       5,810  
Gross Additions       1,570  
Gross Reductions       0  
Ending balance   $ 7,380   $ 7,380  
Investment, Identifier [Axis]: AFG Capital Group, LLC, Preferred Member Units One | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     2    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     144    
Gross Additions     0    
Gross Reductions     144    
Ending balance $ 0   0    
Investment, Identifier [Axis]: AFG Capital Group, LLC, Preferred Member Units Two | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0    
Amount of Unrealized Gain/(Loss)     1,040    
Amount of Interest, Fees or Dividends Credited to Income     200    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     7,740    
Gross Additions     1,040    
Gross Reductions     0    
Ending balance $ 8,780   $ 8,780    
Investment, Identifier [Axis]: AFG Capital Group, LLC, Secured Debt | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate   10.00%   10.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       26  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       491  
Gross Additions       0  
Gross Reductions       260  
Ending balance   $ 231   231  
Investment, Identifier [Axis]: AFG Capital Group, LLC, Secured Debt April 25,2019          
Schedule of Investments [Line Items]          
Total Rate         10.00%
Investment, Identifier [Axis]: AMEREQUIP LLC., Secured Debt One August 31, 2022          
Schedule of Investments [Line Items]          
Spread [1],[2],[3],[4] 7.40%   7.40%    
Investment, Identifier [Axis]: AMEREQUIP LLC., Secured Debt Two August 31, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 9.84%   9.84%    
Spread [1],[2],[3] 7.40%   7.40%    
Investment, Identifier [Axis]: ASC Interests, LLC, Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     80 (400)  
Amount of Interest, Fees or Dividends Credited to Income     0 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     720 1,120  
Gross Additions     80 0  
Gross Reductions     0 400  
Ending balance $ 800 $ 720 $ 800 $ 720  
Investment, Identifier [Axis]: ASC Interests, LLC, Secured Debt | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate   13.00%   13.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       193  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       1,715  
Gross Additions       116  
Gross Reductions       0  
Ending balance   $ 1,831   1,831  
Investment, Identifier [Axis]: ASC Interests, LLC, Secured Debt August 1,2013          
Schedule of Investments [Line Items]          
Total Rate         13.00%
Investment, Identifier [Axis]: ASC Interests, LLC, Secured Debt December 31,2019          
Schedule of Investments [Line Items]          
Total Rate         13.00%
Investment, Identifier [Axis]: ASC Interests, LLC, Secured Debt One | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 13.00%   13.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     24    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     200    
Gross Additions     130    
Gross Reductions     30    
Ending balance $ 300   $ 300    
Investment, Identifier [Axis]: ASC Interests, LLC, Secured Debt One December 31,2019          
Schedule of Investments [Line Items]          
Total Rate 13.00%   13.00%    
Investment, Identifier [Axis]: ASC Interests, LLC, Secured Debt Two | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 13.00%   13.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     211    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     1,636    
Gross Additions     12    
Gross Reductions     0    
Ending balance $ 1,648   $ 1,648    
Investment, Identifier [Axis]: ASC Interests, LLC, Secured Debt Two August 1,2013          
Schedule of Investments [Line Items]          
Total Rate 13.00%   13.00%    
Investment, Identifier [Axis]: ASK (Analytical Systems Keco Holdings, LLC), Preferred Member Units One | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       (3,200)  
Amount of Interest, Fees or Dividends Credited to Income       0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       3,200  
Gross Additions       0  
Gross Reductions       3,200  
Ending balance   0   0  
Investment, Identifier [Axis]: ASK (Analytical Systems Keco Holdings, LLC), Preferred Member Units Two | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       2,356  
Amount of Interest, Fees or Dividends Credited to Income       0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       0  
Gross Additions       4,783  
Gross Reductions       0  
Ending balance   $ 4,783   $ 4,783  
Investment, Identifier [Axis]: ASK (Analytical Systems Keco Holdings, LLC), Secured Debt | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate   12.00%   12.00%  
Spread   10.00%   10.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       520  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       4,873  
Gross Additions       134  
Gross Reductions       220  
Ending balance   $ 4,787   4,787  
Investment, Identifier [Axis]: ASK (Analytical Systems Keco Holdings, LLC), Warrants | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       (10)  
Amount of Interest, Fees or Dividends Credited to Income       0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       10  
Gross Additions       0  
Gross Reductions       10  
Ending balance   $ 0   $ 0  
Investment, Identifier [Axis]: ASK Analytical Systems Keco Holdings, LLC, Preferred Member Units One | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 12.63%   12.63%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     0    
Gross Reductions     0    
Ending balance $ 0   0    
Investment, Identifier [Axis]: ASK Analytical Systems Keco Holdings, LLC, Preferred Member Units Two | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0    
Amount of Unrealized Gain/(Loss)     (1,050)    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     4,894    
Gross Additions     0    
Gross Reductions     1,050    
Ending balance $ 3,844   $ 3,844    
Investment, Identifier [Axis]: ASK Analytical Systems Keco Holdings, LLC, Secured Debt One | Majority-owned investments          
Schedule of Investments [Line Items]          
Spread 10.00%   10.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     4    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     (4)    
Gross Additions     1    
Gross Reductions     0    
Ending balance $ (3)   $ (3)    
Investment, Identifier [Axis]: ASK Analytical Systems Keco Holdings, LLC, Secured Debt Two | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 12.63%   12.63%    
Spread 10.00%   10.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     506    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     4,740    
Gross Additions     65    
Gross Reductions     210    
Ending balance $ 4,595   4,595    
Investment, Identifier [Axis]: ASK Analytical Systems Keco Holdings, LLC, Warrants | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     0    
Gross Reductions     0    
Ending balance $ 0   $ 0    
Investment, Identifier [Axis]: ATS Operating, LLC, Secured Debt One January 18,2022          
Schedule of Investments [Line Items]          
Spread [1],[2],[3],[4] 6.50%   6.50%    
Investment, Identifier [Axis]: ATS Operating, LLC, Secured Debt Three January 18,2022          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 9.84%   9.84%    
Spread [1],[2],[3] 7.50%   7.50%    
Investment, Identifier [Axis]: ATS Operating, LLC, Secured Debt Two January 18,2022          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 7.84%   7.84%    
Spread [1],[2],[3] 5.50%   5.50%    
Investment, Identifier [Axis]: ATS Workholding, LLC, Preferred Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     0    
Gross Reductions     0    
Ending balance $ 0   $ 0    
Investment, Identifier [Axis]: ATS Workholding, LLC, Secured Debt | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate   5.00%   5.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       (304)  
Amount of Interest, Fees or Dividends Credited to Income       0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       3,347  
Gross Additions       0  
Gross Reductions       472  
Ending balance   $ 2,875   $ 2,875  
Investment, Identifier [Axis]: ATS Workholding, LLC, Secured Debt November 16,2017          
Schedule of Investments [Line Items]          
Total Rate [7],[9]         5.00%
Investment, Identifier [Axis]: ATS Workholding, LLC, Secured Debt One | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 5.00%   5.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     (411)    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     1,088    
Gross Additions     147    
Gross Reductions     435    
Ending balance $ 800   $ 800    
Investment, Identifier [Axis]: ATS Workholding, LLC, Secured Debt One November 16,2017          
Schedule of Investments [Line Items]          
Total Rate [1],[10] 5.00%   5.00%    
Investment, Identifier [Axis]: ATS Workholding, LLC, Secured Debt Two | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 5.00%   5.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     (576)    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     1,917    
Gross Additions     0    
Gross Reductions     619    
Ending balance $ 1,298   $ 1,298    
Investment, Identifier [Axis]: ATS Workholding, LLC, Secured Debt Two November 16,2017          
Schedule of Investments [Line Items]          
Total Rate [1],[10] 5.00%   5.00%    
Investment, Identifier [Axis]: ATX Networks Corp., Common Stock | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     0    
Gross Reductions     0    
Ending balance $ 0   $ 0    
Investment, Identifier [Axis]: ATX Networks Corp., Secured Debt | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 11.14%   11.14%    
Spread 7.50%   7.50%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     403    
Amount of Interest, Fees or Dividends Credited to Income     562    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     7,092    
Gross Additions     631    
Gross Reductions     1,016    
Ending balance $ 6,707   $ 6,707    
Investment, Identifier [Axis]: ATX Networks Corp., Secured Debt One | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate   10.00%   10.00%  
PIK Rate   10.00%   10.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       0  
Gross Additions       1,963  
Gross Reductions       0  
Ending balance   $ 1,963   $ 1,963  
Investment, Identifier [Axis]: ATX Networks Corp., Secured Debt September 01, 2021          
Schedule of Investments [Line Items]          
Total Rate [3],[8] 11.14%   11.14%    
Spread [3],[8] 7.50%   7.50%    
Investment, Identifier [Axis]: ATX Networks Corp., Secured Debt September 01,2021          
Schedule of Investments [Line Items]          
Total Rate [5],[6]         8.50%
Spread [5],[6]         7.50%
Investment, Identifier [Axis]: ATX Networks Corp., Secured Debt Three | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate   8.75%   8.75%  
Spread   6.25%   6.25%  
PIK Rate   1.50%   1.50%  
Amount of Realized Gain/(Loss)       $ (4,528)  
Amount of Unrealized Gain/(Loss)       1,133  
Amount of Interest, Fees or Dividends Credited to Income       0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       12,263  
Gross Additions       1,521  
Gross Reductions       13,784  
Ending balance   $ 0   $ 0  
Investment, Identifier [Axis]: ATX Networks Corp., Secured Debt Two | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate   8.50%   8.50%  
Spread   7.50%   7.50%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       0  
Gross Additions       7,092  
Gross Reductions       0  
Ending balance   $ 7,092   7,092  
Investment, Identifier [Axis]: ATX Networks Corp., Unsecured Debt | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 10.00%   10.00%    
PIK Rate 10.00%   10.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     260    
Amount of Interest, Fees or Dividends Credited to Income     242    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     1,963    
Gross Additions     502    
Gross Reductions     0    
Ending balance $ 2,465   $ 2,465    
Investment, Identifier [Axis]: ATX Networks Corp., Unsecured Debt September 01, 2021          
Schedule of Investments [Line Items]          
Total Rate [8] 10.00%   10.00%    
PIK Rate [8] 10.00%   10.00%    
Investment, Identifier [Axis]: ATX Networks Corp., Unsecured Debt September 01,2021          
Schedule of Investments [Line Items]          
Total Rate [5]         10.00%
PIK Rate [5]         10.00%
Investment, Identifier [Axis]: AVEX Aviation Holdings, LLC, Secured Debt December 15,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         7.50%
Spread [6],[7]         6.50%
Investment, Identifier [Axis]: AVEX Aviation Holdings, LLC, Secured Debt One December 15, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 10.32%   10.32%    
Spread [1],[3] 7.00%   7.00%    
Investment, Identifier [Axis]: AVEX Aviation Holdings, LLC, Secured Debt Two December 15, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 10.29%   10.29%    
Spread [1],[3] 7.00%   7.00%    
Investment, Identifier [Axis]: Acousti Engineering Company of Florida, Secured Debt May 26,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         14.00%
Spread [6],[7]         12.50%
Investment, Identifier [Axis]: Acousti Engineering Company of Florida, Secured Debt November 02,2020          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         10.00%
Spread [6],[7]         8.50%
Investment, Identifier [Axis]: Acousti Engineering Company of Florida, Secured Debt One November 02, 2020          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 10.78%   10.78%    
Spread [1],[3] 8.50%   8.50%    
Investment, Identifier [Axis]: Acousti Engineering Company of Florida, Secured Debt Two November 02, 2020          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 10.00%   10.00%    
Spread [1],[3] 8.50%   8.50%    
Investment, Identifier [Axis]: Acousti Engineering Company of Florida, Secured Debt Two May 26 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 14.78%   14.78%    
Spread [1],[3] 12.50%   12.50%    
Investment, Identifier [Axis]: Acumera, Inc., Secured Debt One June 28, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 12.02%   12.02%    
Spread [1],[3] 9.50%   9.50%    
Investment, Identifier [Axis]: Acumera, Inc., Secured Debt Two June 28, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 12.02%   12.02%    
Spread [1],[3] 9.50%   9.50%    
Investment, Identifier [Axis]: Adams Publishing Group, LLC, Secured Debt One March 11, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 12.75%   12.75%    
Spread [1],[3] 6.50%   6.50%    
Investment, Identifier [Axis]: Adams Publishing Group, LLC, Secured Debt Two March 11, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 10.75%   10.75%    
Spread [1],[3] 7.50%   7.50%    
Investment, Identifier [Axis]: American Health Staffing Group, Inc., Secured Debt November 19,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         7.00%
Spread [6],[7]         6.00%
Investment, Identifier [Axis]: American Health Staffing Group, Inc., Secured Debt One November 19, 2021          
Schedule of Investments [Line Items]          
Spread [1],[3],[4] 7.00%   7.00%    
Investment, Identifier [Axis]: American Health Staffing Group, Inc., Secured Debt Two November 19, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 8.01%   8.01%    
Spread [1],[3] 7.00%   7.00%    
Investment, Identifier [Axis]: American Nuts, LLC, Secured Debt December 21,2018          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         9.00%
Spread [6],[7]         8.00%
Investment, Identifier [Axis]: American Nuts, LLC, Secured Debt Two March 11, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 10.98%   10.98%    
Spread [1],[2],[3] 8.75%   8.75%    
Investment, Identifier [Axis]: American Nuts, LLC, Secured Debt one March 11, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 8.98%   8.98%    
Spread [1],[2],[3] 6.75%   6.75%    
Investment, Identifier [Axis]: American Teleconferencing Services, Ltd., Secured Debt May 19,2016          
Schedule of Investments [Line Items]          
Total Rate [5],[6],[9]         7.50%
Spread [5],[6],[9]         6.50%
Investment, Identifier [Axis]: American Teleconferencing Services, Ltd., Secured Debt One, May 19, 2016          
Schedule of Investments [Line Items]          
Total Rate [3],[8],[10] 7.50%   7.50%    
Spread [3],[8],[10] 6.50%   6.50%    
Investment, Identifier [Axis]: American Teleconferencing Services, Ltd., Secured Debt September 17, 2021          
Schedule of Investments [Line Items]          
Total Rate [8],[10] 7.50%   7.50%    
Spread [8],[10] 6.50%   6.50%    
Investment, Identifier [Axis]: American Teleconferencing Services, Ltd., Secured Debt September 17,2021          
Schedule of Investments [Line Items]          
Total Rate [5],[6],[9],[11]         7.50%
Spread [5],[6],[9],[11]         6.50%
Investment, Identifier [Axis]: Analytical Systems Keco Holdings, LLC, Preferred Member Units One August 16, 2019          
Schedule of Investments [Line Items]          
Total Rate 12.63%   12.63%    
Investment, Identifier [Axis]: Analytical Systems Keco Holdings, LLC, Secured Debt One August 16,2019          
Schedule of Investments [Line Items]          
Spread [3],[4] 10.00%   10.00%    
Investment, Identifier [Axis]: Analytical Systems Keco Holdings, LLC, Secured Debt August 16,2019          
Schedule of Investments [Line Items]          
Total Rate [6]         12.00%
Spread [6]         10.00%
Investment, Identifier [Axis]: Analytical Systems Keco Holdings, LLC, Secured Debt Two August 16, 2019          
Schedule of Investments [Line Items]          
Total Rate [3] 12.63%   12.63%    
Spread [3] 10.00%   10.00%    
Investment, Identifier [Axis]: ArborWorks, LLC, Secured Debt November 09,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         8.00%
Spread [6],[7]         7.00%
Investment, Identifier [Axis]: ArborWorks, LLC, Secured Debt One November 09, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 9.97%   9.97%    
Spread [1],[3] 7.00%   7.00%    
Investment, Identifier [Axis]: ArborWorks, LLC, Secured Debt Two November 09, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 9.87%   9.87%    
Spread [1],[3] 7.00%   7.00%    
Investment, Identifier [Axis]: Archer Systems, LLC, Secured Debt One August 11, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 9.65%   9.65%    
Spread [1],[2],[3] 6.50%   6.50%    
Investment, Identifier [Axis]: Archer Systems, LLC, Secured Debt Two August 11, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 8.91%   8.91%    
Spread [1],[2],[3] 6.50%   6.50%    
Investment, Identifier [Axis]: Arrow International, Inc, Secured Debt December 21, 2020          
Schedule of Investments [Line Items]          
Total Rate [1],[3],[12] 11.96%   11.96%    
Spread [1],[3],[12] 5.61%   5.61%    
Investment, Identifier [Axis]: Arrow International, Inc, Secured Debt December 21,2020          
Schedule of Investments [Line Items]          
Total Rate [6],[7],[13]         9.18%
Spread [6],[7],[13]         7.93%
Investment, Identifier [Axis]: BBB Tank Services, LLC, Member Units | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     0 (280)  
Amount of Interest, Fees or Dividends Credited to Income     0 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0 280  
Gross Additions     0 0  
Gross Reductions     0 280  
Ending balance $ 0 $ 0 $ 0 $ 0  
Investment, Identifier [Axis]: BBB Tank Services, LLC, Preferred Stock (non-voting) | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 15.00% 15.00% 15.00% 15.00%  
PIK Rate 15.00% 15.00% 15.00% 15.00%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     0 (162)  
Amount of Interest, Fees or Dividends Credited to Income     0 11  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0 151  
Gross Additions     0 11  
Gross Reductions     0 162  
Ending balance $ 0 $ 0 $ 0 $ 0  
Investment, Identifier [Axis]: BBB Tank Services, LLC, Preferred Stock (non-voting) December 17, 2018          
Schedule of Investments [Line Items]          
Total Rate 15.00%   15.00%    
PIK Rate 15.00%   15.00%    
Investment, Identifier [Axis]: BBB Tank Services, LLC, Preferred Stock (non-voting) December 17,2018          
Schedule of Investments [Line Items]          
Total Rate [14]         15.00%
PIK Rate [14]         15.00%
Investment, Identifier [Axis]: BBB Tank Services, LLC, Unsecured Debt | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate   12.00%   12.00%  
Spread   11.00%   11.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       (1,000)  
Amount of Interest, Fees or Dividends Credited to Income       464  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       4,722  
Gross Additions       27  
Gross Reductions       1,001  
Ending balance   $ 3,748   3,748  
Investment, Identifier [Axis]: BBB Tank Services, LLC, Unsecured Debt April 08,2016          
Schedule of Investments [Line Items]          
Total Rate [6],[11]         12.00%
Spread [6],[11]         11.00%
Investment, Identifier [Axis]: BBB Tank Services, LLC, Unsecured Debt One | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 13.56%   13.56%    
Spread 11.00%   11.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     75    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     800    
Gross Additions     0    
Gross Reductions     0    
Ending balance $ 800   $ 800    
Investment, Identifier [Axis]: BBB Tank Services, LLC, Unsecured Debt One April 08, 2016          
Schedule of Investments [Line Items]          
Total Rate [3],[15] 13.56%   13.56%    
Spread [3],[15] 11.00%   11.00%    
Investment, Identifier [Axis]: BBB Tank Services, LLC, Unsecured Debt Two | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 13.56%   13.56%    
Spread 11.00%   11.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     (209)    
Amount of Interest, Fees or Dividends Credited to Income     377    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     1,707    
Gross Additions     0    
Gross Reductions     209    
Ending balance $ 1,498   $ 1,498    
Investment, Identifier [Axis]: BBB Tank Services, LLC, Unsecured Debt Two April 08, 2016          
Schedule of Investments [Line Items]          
Total Rate [3],[15] 13.56%   13.56%    
Spread [3],[15] 11.00%   11.00%    
Investment, Identifier [Axis]: Barfly Ventures, LLC, Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     1,390    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     1,930    
Gross Additions     1,390    
Gross Reductions     0    
Ending balance $ 3,320   $ 3,320    
Investment, Identifier [Axis]: Barfly Ventures, LLC, Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       346  
Amount of Interest, Fees or Dividends Credited to Income       0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       1,584  
Gross Additions       346  
Gross Reductions       0  
Ending balance   $ 1,930   $ 1,930  
Investment, Identifier [Axis]: Barfly Ventures, LLC, Secured Debt | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 7.00% 7.00% 7.00% 7.00%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     0 0  
Amount of Interest, Fees or Dividends Credited to Income     38 58  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     710 343  
Gross Additions     1 367  
Gross Reductions     0 0  
Ending balance $ 711 $ 710 $ 711 710  
Investment, Identifier [Axis]: Barfly Ventures, LLC, Secured Debt October 15, 2020          
Schedule of Investments [Line Items]          
Total Rate [1] 7.00%   7.00%    
Investment, Identifier [Axis]: Barfly Ventures, LLC, Secured Debt October 15,2020          
Schedule of Investments [Line Items]          
Total Rate [7]         7.00%
Investment, Identifier [Axis]: Batjer TopCo, LLC, Preferred Stock | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     4,095    
Gross Reductions     0    
Ending balance $ 4,095   4,095    
Investment, Identifier [Axis]: Batjer TopCo, LLC, Secured Debt One | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     4    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     451    
Gross Reductions     459    
Ending balance $ (8)   $ (8)    
Investment, Identifier [Axis]: Batjer TopCo, LLC, Secured Debt Three | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 11.00%   11.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     824    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     10,927    
Gross Reductions     0    
Ending balance $ 10,927   $ 10,927    
Investment, Identifier [Axis]: Batjer TopCo, LLC, Secured Debt Three March 7,2022          
Schedule of Investments [Line Items]          
Total Rate 11.00%   11.00%    
Investment, Identifier [Axis]: Batjer TopCo, LLC, Secured Debt Two | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 11.00%   11.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     0    
Gross Reductions     0    
Ending balance $ 0   $ 0    
Investment, Identifier [Axis]: Berry Aviation, Inc., Preferred Member Units July 06,2018          
Schedule of Investments [Line Items]          
Total Rate [7],[16]         8.00%
PIK Rate [7],[16]         8.00%
Investment, Identifier [Axis]: Berry Aviation, Inc., Preferred Member Units November 12,2019          
Schedule of Investments [Line Items]          
Total Rate [7],[14],[16]         16.00%
PIK Rate [7],[14],[16]         16.00%
Investment, Identifier [Axis]: Berry Aviation, Inc., Preferred Member Units One July 06, 2018          
Schedule of Investments [Line Items]          
Total Rate [1],[17],[18] 8.00%   8.00%    
PIK Rate [1],[17],[18] 8.00%   8.00%    
Investment, Identifier [Axis]: Berry Aviation, Inc., Preferred Member Units Two November 12, 2019          
Schedule of Investments [Line Items]          
Total Rate [1],[17],[18] 16.00%   16.00%    
PIK Rate [1],[17],[18] 16.00%   16.00%    
Investment, Identifier [Axis]: Berry Aviation, Inc., Secured Debt July 06, 2018          
Schedule of Investments [Line Items]          
Total Rate [1] 12.00%   12.00%    
Spread [1] 10.50%   10.50%    
PIK Rate [1] 1.50%   1.50%    
Investment, Identifier [Axis]: Berry Aviation, Inc., Secured Debt July 06,2018          
Schedule of Investments [Line Items]          
Total Rate [7]         12.00%
PIK Rate [7]         1.50%
Investment, Identifier [Axis]: Bettercloud, Inc., Secured Debt One June 30, 2022          
Schedule of Investments [Line Items]          
Spread [1],[2],[3],[4] 6.00%   6.00%    
Investment, Identifier [Axis]: Bettercloud, Inc., Secured Debt Two June 30, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 9.78%   9.78%    
Spread [1],[2],[3] 6.75%   6.75%    
PIK Rate [1],[2],[3] 5.75%   5.75%    
Investment, Identifier [Axis]: Binswanger Enterprises, LLC, Secured Debt March 10,2017          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         9.50%
Spread [6],[7]         8.50%
Investment, Identifier [Axis]: Bluestem Brands, Inc, Secured Debt August 28, 2020          
Schedule of Investments [Line Items]          
Total Rate [3],[8] 11.29%   11.29%    
Spread [3],[8] 8.50%   8.50%    
Investment, Identifier [Axis]: Bluestem Brands, Inc., Secured Debt August 28,2020          
Schedule of Investments [Line Items]          
Total Rate [5],[6]         10.00%
Spread [5],[6]         8.50%
Investment, Identifier [Axis]: Boccella Precast Products LLC, Member Units | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     (1,510) (1,210)  
Amount of Interest, Fees or Dividends Credited to Income     73 379  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     4,830 6,040  
Gross Additions     0 0  
Gross Reductions     1,510 1,210  
Ending balance $ 3,320 $ 4,830 $ 3,320 $ 4,830  
Investment, Identifier [Axis]: Boccella Precast Products LLC, Secured Debt | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate   10.00%   10.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       1  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       0  
Gross Additions       320  
Gross Reductions       0  
Ending balance   $ 320   $ 320  
Investment, Identifier [Axis]: Boccella Precast Products LLC, Secured Debt | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 10.00%   10.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     24    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     320    
Gross Additions     0    
Gross Reductions     0    
Ending balance $ 320   $ 320    
Investment, Identifier [Axis]: Boccella Precast Products LLC, Secured Debt September 23, 2021          
Schedule of Investments [Line Items]          
Total Rate 10.00%   10.00%    
Investment, Identifier [Axis]: Boccella Precast Products LLC, Secured Debt September 23,2021          
Schedule of Investments [Line Items]          
Total Rate         10.00%
Investment, Identifier [Axis]: Bolder Panther Group, LLC, Class A Preferred Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate   14.00%   14.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       1,067  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       10,194  
Gross Additions       0  
Gross Reductions       0  
Ending balance   $ 10,194   $ 10,194  
Investment, Identifier [Axis]: Bolder Panther Group, LLC, Class A Preferred Member Units December 31,2020          
Schedule of Investments [Line Items]          
Total Rate [14]         14.00%
Investment, Identifier [Axis]: Bolder Panther Group, LLC, Class B Preferred Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 8.00% 8.00% 8.00% 8.00%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     3,840 6,310  
Amount of Interest, Fees or Dividends Credited to Income     558 2,087  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     23,170 14,000  
Gross Additions     3,840 6,310  
Gross Reductions     0 0  
Ending balance $ 27,010 $ 20,310 $ 27,010 $ 20,310  
Investment, Identifier [Axis]: Bolder Panther Group, LLC, Class B Preferred Member Units December 31,2020          
Schedule of Investments [Line Items]          
Total Rate 8.00% [17]   8.00% [17]   8.00% [14]
Investment, Identifier [Axis]: Bolder Panther Group, LLC, Secured Debt December 31,2020          
Schedule of Investments [Line Items]          
Total Rate [6]         10.50%
Spread [6]         9.00%
Investment, Identifier [Axis]: Bolder Panther Group, LLC, Secured Debt One | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate   10.50%   10.50%  
Spread 8.00% 9.00% 8.00% 9.00%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     0 329  
Amount of Interest, Fees or Dividends Credited to Income     19 2,582  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0 27,225  
Gross Additions     0 11,775  
Gross Reductions     0 0  
Ending balance $ 0 $ 39,000 $ 0 $ 39,000  
Investment, Identifier [Axis]: Bolder Panther Group, LLC, Secured Debt One December 31,2020          
Schedule of Investments [Line Items]          
Spread [3],[4] 8.00%   8.00%    
Investment, Identifier [Axis]: Bolder Panther Group, LLC, Secured Debt Two | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 12.63% 9.50% 12.63% 9.50%  
Spread 10.00% 8.00% 10.00% 8.00%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     266 0  
Amount of Interest, Fees or Dividends Credited to Income     5,780 36  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     39,000 0  
Gross Additions     60,194 500  
Gross Reductions     0 500  
Ending balance $ 99,194 $ 0 $ 99,194 0  
Investment, Identifier [Axis]: Bolder Panther Group, LLC, Secured Debt Two December 31,2020          
Schedule of Investments [Line Items]          
Total Rate [3] 12.63%   12.63%    
Spread [3] 10.00%   10.00%    
Investment, Identifier [Axis]: Bond-Coat, Inc., Common Stock | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       (2,320)  
Amount of Unrealized Gain/(Loss)       4,310  
Amount of Interest, Fees or Dividends Credited to Income       0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       2,040  
Gross Additions       4,310  
Gross Reductions       6,350  
Ending balance   0   0  
Investment, Identifier [Axis]: Brainworks Software, LLC, Secured Debt August 12,2014          
Schedule of Investments [Line Items]          
Total Rate [6],[7],[9],[11]         12.50%
Spread [6],[7],[9],[11]         9.25%
Investment, Identifier [Axis]: Brainworks Software, LLC, Secured Debt One August 12, 2014          
Schedule of Investments [Line Items]          
Total Rate [1],[3],[10],[15] 12.50%   12.50%    
Spread [1],[3],[10],[15] 9.25%   9.25%    
Investment, Identifier [Axis]: Brainworks Software, LLC, Secured Debt Two August 12, 2014          
Schedule of Investments [Line Items]          
Total Rate [1],[3],[10],[15] 12.50%   12.50%    
Spread [1],[3],[10],[15] 9.25%   9.25%    
Investment, Identifier [Axis]: Brewer Crane Holdings, LLC, Preferred Member Units | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     (2,040)    
Amount of Interest, Fees or Dividends Credited to Income     795    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     7,710    
Gross Additions     0    
Gross Reductions     2,040    
Ending balance $ 5,670   $ 5,670    
Investment, Identifier [Axis]: Brewer Crane Holdings, LLC, Preferred Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       (1,570)  
Amount of Interest, Fees or Dividends Credited to Income       397  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       5,850  
Gross Additions       0  
Gross Reductions       1,570  
Ending balance   $ 4,280   $ 4,280  
Investment, Identifier [Axis]: Brewer Crane Holdings, LLC, Secured Debt | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 12.56%   12.56%    
Spread 10.00%   10.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     649    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     8,037    
Gross Additions     19    
Gross Reductions     1,972    
Ending balance $ 6,084   $ 6,084    
Investment, Identifier [Axis]: Brewer Crane Holdings, LLC, Secured Debt | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate   11.00%   11.00%  
Spread   10.00%   10.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       708  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       8,513  
Gross Additions       15  
Gross Reductions       372  
Ending balance   $ 8,156   8,156  
Investment, Identifier [Axis]: Brewer Crane Holdings, LLC, Secured Debt January 09,2018          
Schedule of Investments [Line Items]          
Total Rate [6]         11.00%
Spread [6]         10.00%
Investment, Identifier [Axis]: Brewer Crane Holdings, LLC, Secured Debt January 9, 2018          
Schedule of Investments [Line Items]          
Total Rate [3] 12.56%   12.56%    
Spread 10.00%   10.00%    
Investment, Identifier [Axis]: Bridge Capital Solutions Corporation, Preferred Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     0 0  
Amount of Interest, Fees or Dividends Credited to Income     75 75  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     1,000 1,000  
Gross Additions     0 0  
Gross Reductions     0 0  
Ending balance $ 1,000 $ 1,000 $ 1,000 $ 1,000  
Investment, Identifier [Axis]: Bridge Capital Solutions Corporation, Secured Debt July 25, 2016          
Schedule of Investments [Line Items]          
Total Rate [16]         13.00%
Investment, Identifier [Axis]: Bridge Capital Solutions Corporation, Secured Debt July 25,2016          
Schedule of Investments [Line Items]          
Total Rate         13.00%
Investment, Identifier [Axis]: Bridge Capital Solutions Corporation, Secured Debt One | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 13.00% 13.00% 13.00% 13.00%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     0 0  
Amount of Interest, Fees or Dividends Credited to Income     869 100  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     8,813 998  
Gross Additions     0 2  
Gross Reductions     0 0  
Ending balance $ 8,813 $ 1,000 $ 8,813 $ 1,000  
Investment, Identifier [Axis]: Bridge Capital Solutions Corporation, Secured Debt One July 25, 2016          
Schedule of Investments [Line Items]          
Total Rate 13.00%   13.00%    
Investment, Identifier [Axis]: Bridge Capital Solutions Corporation, Secured Debt Two | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 13.00% 13.00% 13.00% 13.00%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     0 0  
Amount of Interest, Fees or Dividends Credited to Income     99 1,279  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     1,000 8,403  
Gross Additions     0 410  
Gross Reductions     0 0  
Ending balance $ 1,000 $ 8,813 $ 1,000 8,813  
Investment, Identifier [Axis]: Bridge Capital Solutions Corporation, Secured Debt Two July 25, 2016          
Schedule of Investments [Line Items]          
Total Rate [18] 13.00%   13.00%    
Investment, Identifier [Axis]: Bridge Capital Solutions Corporation, Warrants | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       840  
Amount of Interest, Fees or Dividends Credited to Income       0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       3,220  
Gross Additions       840  
Gross Reductions       0  
Ending balance   4,060   4,060  
Investment, Identifier [Axis]: Bridge Capital Solutions Corporation, Warrants One | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     83    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     1,712    
Gross Additions     83    
Gross Reductions     0    
Ending balance $ 1,795   1,795    
Investment, Identifier [Axis]: Bridge Capital Solutions Corporation, Warrants Two | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0    
Amount of Unrealized Gain/(Loss)     117    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     2,348    
Gross Additions     117    
Gross Reductions     0    
Ending balance $ 2,465   $ 2,465    
Investment, Identifier [Axis]: Brightwood Capital Fund Investments - Fund V, LP Interests (Brightwood Capital Fund V, LP) | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       0  
Gross Additions       1,000  
Gross Reductions       0  
Ending balance   $ 1,000   $ 1,000  
Investment, Identifier [Axis]: Buca C, LLC, Preferred Member Units | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 6.00%   6.00%    
PIK Rate 6.00%   6.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     0    
Gross Reductions     0    
Ending balance $ 0   $ 0    
Investment, Identifier [Axis]: Buca C, LLC, Preferred Member Units June 30, 2015          
Schedule of Investments [Line Items]          
Total Rate 6.00%   6.00%    
PIK Rate 6.00%   6.00%    
Investment, Identifier [Axis]: Buca C, LLC, Preferred Member Units June 30,2015          
Schedule of Investments [Line Items]          
Total Rate         6.00%
PIK Rate         6.00%
Investment, Identifier [Axis]: Buca C, LLC, Secured Debt | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 9.00% 10.25% 9.00% 10.25%  
Spread   9.25%   9.25%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     1,604 (373)  
Amount of Interest, Fees or Dividends Credited to Income     1,488 1,264  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     14,370 14,256  
Gross Additions     1,602 487  
Gross Reductions     1,966 373  
Ending balance $ 14,006 $ 14,370 $ 14,006 14,370  
Investment, Identifier [Axis]: Buca C, LLC, Secured Debt June 30, 2015          
Schedule of Investments [Line Items]          
Total Rate 9.00%   9.00%    
Investment, Identifier [Axis]: Buca C, LLC, Secured Debt June 30,2015          
Schedule of Investments [Line Items]          
Total Rate [6],[11]         10.25%
Spread [6],[11]         9.25%
Investment, Identifier [Axis]: Burning Glass Intermediate Holding Company, Inc., Secured Debt June 14,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         6.00%
Spread [6],[7]         5.00%
Investment, Identifier [Axis]: Burning Glass Intermediate Holding Company, Inc., Secured Debt One June 14, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 7.52%   7.52%    
Spread [1],[3] 5.00%   5.00%    
Investment, Identifier [Axis]: Burning Glass Intermediate Holding Company, Inc., Secured Debt One June 14,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         6.00%
Spread [6],[7]         5.00%
Investment, Identifier [Axis]: Burning Glass Intermediate Holding Company, Inc., Secured Debt Two June 14, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 7.52%   7.52%    
Spread [1],[3] 5.00%   5.00%    
Investment, Identifier [Axis]: CAI Software LLC, Member Units | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       7,321  
Amount of Interest, Fees or Dividends Credited to Income       1,900  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       7,190  
Gross Additions       7,321  
Gross Reductions       1,921  
Ending balance   $ 12,590   $ 12,590  
Investment, Identifier [Axis]: CAI Software LLC, Secured Debt | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate   12.50%   12.50%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       (1)  
Amount of Interest, Fees or Dividends Credited to Income       5,547  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       47,474  
Gross Additions       23,601  
Gross Reductions       4,474  
Ending balance   $ 66,601   66,601  
Investment, Identifier [Axis]: CBT Nuggets, LLC, Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     (2,370)    
Amount of Interest, Fees or Dividends Credited to Income     2,471    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     50,620    
Gross Additions     0    
Gross Reductions     2,370    
Ending balance $ 48,250   48,250    
Investment, Identifier [Axis]: CBT Nuggets, LLC, Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       6,540  
Amount of Interest, Fees or Dividends Credited to Income       1,901  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       46,080  
Gross Additions       6,540  
Gross Reductions       0  
Ending balance   52,620   52,620  
Investment, Identifier [Axis]: CMS Minerals Investments, Member Units | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0 0  
Amount of Unrealized Gain/(Loss)     331 453  
Amount of Interest, Fees or Dividends Credited to Income     150 22  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     1,974 1,624  
Gross Additions     331 454  
Gross Reductions     415 195  
Ending balance $ 1,890 1,883 $ 1,890 1,883  
Investment, Identifier [Axis]: Cadence Aerospace LLC, Secured Debt November 14, 2017          
Schedule of Investments [Line Items]          
Total Rate [1],[3],[19] 11.31%   11.31%    
Spread [1],[3],[19] 8.50%   8.50%    
PIK Rate [1],[3],[19] 0.13%   0.13%    
Investment, Identifier [Axis]: Cadence Aerospace LLC, Secured Debt November 14, 2017          
Schedule of Investments [Line Items]          
PIK Rate 2.00%   2.00%    
Investment, Identifier [Axis]: Cadence Aerospace LLC, Secured Debt November 14,2017          
Schedule of Investments [Line Items]          
Total Rate [7],[20]         9.28%
PIK Rate [7],[20]         0.22%
Investment, Identifier [Axis]: Café Brazil, LLC, Member Units | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     (200)    
Amount of Interest, Fees or Dividends Credited to Income     178    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     2,570    
Gross Additions     0    
Gross Reductions     200    
Ending balance $ 2,370   2,370    
Investment, Identifier [Axis]: Café Brazil, LLC, Member Units | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       540  
Amount of Interest, Fees or Dividends Credited to Income       470  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       2,030  
Gross Additions       540  
Gross Reductions       0  
Ending balance   2,570   2,570  
Investment, Identifier [Axis]: California Splendor Holdings LLC, Preferred Member Units July 31,2019          
Schedule of Investments [Line Items]          
Total Rate [14]         15.00%
PIK Rate [14]         15.00%
Investment, Identifier [Axis]: California Splendor Holdings LLC, Preferred Member Units One | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0 0  
Amount of Unrealized Gain/(Loss)     7,750 4,564  
Amount of Interest, Fees or Dividends Credited to Income     188 188  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     13,275 6,241  
Gross Additions     7,750 4,564  
Gross Reductions     0 0  
Ending balance $ 21,025 $ 10,805 $ 21,025 $ 10,805  
Investment, Identifier [Axis]: California Splendor Holdings LLC, Preferred Member Units Two | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 15.00% 15.00% 15.00% 15.00%  
PIK Rate 15.00% 15.00% 15.00% 15.00%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     0 0  
Amount of Interest, Fees or Dividends Credited to Income     792 939  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     9,510 8,255  
Gross Additions     792 939  
Gross Reductions     6,449 0  
Ending balance $ 3,853 $ 9,194 $ 3,853 $ 9,194  
Investment, Identifier [Axis]: California Splendor Holdings LLC, Preferred Member Units Two March 30,2018          
Schedule of Investments [Line Items]          
Total Rate [17] 15.00%   15.00%    
PIK Rate [17] 15.00%   15.00%    
Investment, Identifier [Axis]: California Splendor Holdings LLC, Secured Debt | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 12.38% 11.00% 12.38% 11.00%  
Spread 10.00% 10.00% 10.00% 10.00%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     52 36  
Amount of Interest, Fees or Dividends Credited to Income     2,467 2,579  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     27,915 35,832  
Gross Additions     85 196  
Gross Reductions     0 8,129  
Ending balance $ 28,000 $ 27,899 $ 28,000 27,899  
Investment, Identifier [Axis]: California Splendor Holdings LLC, Secured Debt March 30,2018          
Schedule of Investments [Line Items]          
Total Rate 12.38% [3]   12.38% [3]   11.00% [6]
Spread 10.00% [3]   10.00% [3]   10.00% [6]
Investment, Identifier [Axis]: Camin Cargo Control, Inc., Secured Debt June 14, 2021          
Schedule of Investments [Line Items]          
Total Rate [3],[8] 9.62%   9.62%    
Spread [3],[8] 6.50%   6.50%    
Investment, Identifier [Axis]: Camin Cargo Control, Inc., Secured Debt June 14,2021          
Schedule of Investments [Line Items]          
Total Rate [5],[6]         7.50%
Spread [5],[6]         6.50%
Investment, Identifier [Axis]: Career Team Holdings, LLC, Common Stock | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     4,500    
Gross Additions     0    
Gross Reductions     0    
Ending balance $ 4,500   $ 4,500    
Investment, Identifier [Axis]: Career Team Holdings, LLC, Secured Debt December 17,2021          
Schedule of Investments [Line Items]          
Total Rate         12.50%
Investment, Identifier [Axis]: Career Team Holdings, LLC, Secured Debt One | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 8.63%   8.63%    
Spread 6.00%   6.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     5    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     0    
Gross Reductions     0    
Ending balance $ 0   $ 0    
Investment, Identifier [Axis]: Career Team Holdings, LLC, Secured Debt One December 17, 2021          
Schedule of Investments [Line Items]          
Spread [3],[4] 6.00%   6.00%    
Investment, Identifier [Axis]: Career Team Holdings, LLC, Secured Debt Two | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 12.50%   12.50%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     1,950    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     20,050    
Gross Additions     30    
Gross Reductions     0    
Ending balance $ 20,080   $ 20,080    
Investment, Identifier [Axis]: Career Team Holdings, LLC, Secured Debt Two December 17, 2021          
Schedule of Investments [Line Items]          
Total Rate 12.50%   12.50%    
Investment, Identifier [Axis]: CaseWorthy, Inc., Secured Debt One May 18, 2022          
Schedule of Investments [Line Items]          
Spread [1],[3],[4] 5.25%   5.25%    
Investment, Identifier [Axis]: CaseWorthy, Inc., Secured Debt Three May 18, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 8.26%   8.26%    
Spread [1],[3] 5.25%   5.25%    
Investment, Identifier [Axis]: CaseWorthy, Inc., Secured Debt Two May 18, 2022          
Schedule of Investments [Line Items]          
Spread [1],[3],[4] 5.25%   5.25%    
Investment, Identifier [Axis]: Centre Technologies Holdings, LLC, Preferred Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     2,038    
Amount of Interest, Fees or Dividends Credited to Income     90    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     5,840    
Gross Additions     2,320    
Gross Reductions     0    
Ending balance $ 8,160   $ 8,160    
Investment, Identifier [Axis]: Centre Technologies Holdings, LLC, Preferred Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       (320)  
Amount of Interest, Fees or Dividends Credited to Income       90  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       6,160  
Gross Additions       0  
Gross Reductions       320  
Ending balance   $ 5,840   $ 5,840  
Investment, Identifier [Axis]: Centre Technologies Holdings, LLC, Secured Debt | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate   12.00%   12.00%  
Spread   10.00%   10.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       969  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       11,549  
Gross Additions       28  
Gross Reductions       2,059  
Ending balance   $ 9,518   9,518  
Investment, Identifier [Axis]: Centre Technologies Holdings, LLC, Secured Debt One | Other controlled investments          
Schedule of Investments [Line Items]          
Spread 9.00%   9.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     25    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     1,440    
Gross Reductions     1,440    
Ending balance $ 0   $ 0    
Investment, Identifier [Axis]: Centre Technologies Holdings, LLC, Secured Debt Two | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 11.63%   11.63%    
Spread 9.00%   9.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     507    
Amount of Interest, Fees or Dividends Credited to Income     1,271    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     8,864    
Gross Additions     6,470    
Gross Reductions     387    
Ending balance $ 14,947   $ 14,947    
Investment, Identifier [Axis]: Centre Technologies Holdings, LLC, Secured Debt January 04,2019          
Schedule of Investments [Line Items]          
Total Rate [6]         12.00%
Spread [6]         10.00%
Investment, Identifier [Axis]: Centre Technologies Holdings, LLC, Secured Debt One January 4, 2019          
Schedule of Investments [Line Items]          
Spread [3],[4] 9.00%   9.00%    
Investment, Identifier [Axis]: Centre Technologies Holdings, LLC, Secured Debt Two January 4, 2019          
Schedule of Investments [Line Items]          
Total Rate [3] 11.63%   11.63%    
Spread [3] 9.00%   9.00%    
Investment, Identifier [Axis]: Chamberlin Holding LLC, Member Units One | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     (1,810) 160  
Amount of Interest, Fees or Dividends Credited to Income     1,335 51  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     24,140 1,270  
Gross Additions     0 160  
Gross Reductions     1,810 0  
Ending balance $ 22,330 1,430 22,330 1,430  
Investment, Identifier [Axis]: Chamberlin Holding LLC, Member Units Two | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0 0  
Amount of Unrealized Gain/(Loss)     0 (3,930)  
Amount of Interest, Fees or Dividends Credited to Income     55 3,707  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     1,540 28,070  
Gross Additions     451 0  
Gross Reductions     0 3,930  
Ending balance $ 1,991 $ 24,140 $ 1,991 $ 24,140  
Investment, Identifier [Axis]: Chamberlin Holding LLC, Secured Debt | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate   9.00%   9.00%  
Spread   8.00%   8.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       18  
Amount of Interest, Fees or Dividends Credited to Income       1,117  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       15,212  
Gross Additions       4,000  
Gross Reductions       1,395  
Ending balance   $ 17,817   17,817  
Investment, Identifier [Axis]: Chamberlin Holding LLC, Secured Debt February 26,2018          
Schedule of Investments [Line Items]          
Total Rate [6]         9.00%
Spread [6]         8.00%
Investment, Identifier [Axis]: Chamberlin Holding LLC, Secured Debt One | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 8.63%   8.63%    
Spread 6.00%   6.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     6    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     0    
Gross Reductions     0    
Ending balance $ 0   $ 0    
Investment, Identifier [Axis]: Chamberlin Holding LLC, Secured Debt One February 26, 2018          
Schedule of Investments [Line Items]          
Spread [3],[4] 6.00%   6.00%    
Investment, Identifier [Axis]: Chamberlin Holding LLC, Secured Debt Two | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 10.63%   10.63%    
Spread 8.00%   8.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     (51)    
Amount of Interest, Fees or Dividends Credited to Income     1,314    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     17,817    
Gross Additions     51    
Gross Reductions     402    
Ending balance $ 17,466   $ 17,466    
Investment, Identifier [Axis]: Chamberlin Holding LLC, Secured Debt Two February 26, 2018          
Schedule of Investments [Line Items]          
Total Rate [3] 10.63%   10.63%    
Spread [3] 8.00%   8.00%    
Investment, Identifier [Axis]: Chandler Signs Holdings, LLC, Class A Units | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     510 (810)  
Amount of Interest, Fees or Dividends Credited to Income     0 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     460 1,460  
Gross Additions     510 0  
Gross Reductions     0 810  
Ending balance $ 970 650 $ 970 650  
Investment, Identifier [Axis]: Channel Partners Intermediateco, LLC, Secured Debt One February 07, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 9.08%   9.08%    
Spread [1],[2],[3] 6.25%   6.25%    
Investment, Identifier [Axis]: Channel Partners Intermediateco, LLC, Secured Debt Two February 07, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3],[21] 7.70%   7.70%    
Spread [1],[2],[3],[21] 6.25%   6.25%    
Investment, Identifier [Axis]: Charlotte Russe, Inc, Common Stock | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       (3,141)  
Amount of Unrealized Gain/(Loss)       3,141  
Amount of Interest, Fees or Dividends Credited to Income       0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       0  
Gross Additions       3,141  
Gross Reductions       3,141  
Ending balance   0   0  
Investment, Identifier [Axis]: Charps, LLC, Preferred Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       3,720  
Amount of Interest, Fees or Dividends Credited to Income       2,120  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       10,520  
Gross Additions       3,720  
Gross Reductions       0  
Ending balance   $ 14,240   $ 14,240  
Investment, Identifier [Axis]: Charps, LLC, Preferred Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     (780)    
Amount of Interest, Fees or Dividends Credited to Income     425    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     13,990    
Gross Additions     0    
Gross Reductions     780    
Ending balance $ 13,210   $ 13,210    
Investment, Identifier [Axis]: Charps, LLC, Preferred Unsecured Debt August 26, 2020          
Schedule of Investments [Line Items]          
Total Rate 10.00%   10.00%    
Investment, Identifier [Axis]: Charps, LLC, Secured Debt | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate   15.00%   15.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       4  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       669  
Gross Additions       0  
Gross Reductions       669  
Ending balance   $ 0   $ 0  
Investment, Identifier [Axis]: Charps, LLC, Unsecured Debt | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 10.00% 10.00% 10.00% 10.00%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     (36) (382)  
Amount of Interest, Fees or Dividends Credited to Income     461 846  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     5,694 8,475  
Gross Additions     36 282  
Gross Reductions     36 3,723  
Ending balance $ 5,694 $ 5,034 5,694 5,034  
Investment, Identifier [Axis]: Charps, LLC, Unsecured Debt February 26,2018          
Schedule of Investments [Line Items]          
Total Rate         10.00%
Investment, Identifier [Axis]: Chisholm Energy Holdings, LLC, Secured Debt May 15,2019          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         7.75%
Spread [6],[7]         6.25%
Investment, Identifier [Axis]: Clad-Rex Steel, LLC, Member Units One | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       530  
Gross Additions       0  
Gross Reductions       0  
Ending balance   530   530  
Investment, Identifier [Axis]: Clad-Rex Steel, LLC, Member Units Two | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       1,640  
Amount of Interest, Fees or Dividends Credited to Income       2,181  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       8,610  
Gross Additions       1,640  
Gross Reductions       0  
Ending balance   $ 10,250   $ 10,250  
Investment, Identifier [Axis]: Clad-Rex Steel, LLC, Member Units One | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0    
Amount of Unrealized Gain/(Loss)     (760)    
Amount of Interest, Fees or Dividends Credited to Income     595    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     10,250    
Gross Additions     0    
Gross Reductions     760    
Ending balance 9,490   9,490    
Investment, Identifier [Axis]: Clad-Rex Steel, LLC, Member Units Two | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0    
Amount of Unrealized Gain/(Loss)     80    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     530    
Gross Additions     80    
Gross Reductions     0    
Ending balance $ 610   $ 610    
Investment, Identifier [Axis]: Clad-Rex Steel, LLC, Secured Debt One | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 12.13% 10.00% 12.13% 10.00%  
Spread 9.50%   9.50%    
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     0 0  
Amount of Interest, Fees or Dividends Credited to Income     898 83  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     10,401 1,100  
Gross Additions     29 0  
Gross Reductions     0 22  
Ending balance $ 10,430 $ 1,078 $ 10,430 $ 1,078  
Investment, Identifier [Axis]: Clad-Rex Steel, LLC, Secured Debt One December 20, 2016          
Schedule of Investments [Line Items]          
Total Rate [3] 12.13%   12.13%    
Spread [3] 9.50%   9.50%    
Investment, Identifier [Axis]: Clad-Rex Steel, LLC, Secured Debt One December 20,2016          
Schedule of Investments [Line Items]          
Total Rate [6]         10.50%
Spread [6]         9.50%
Investment, Identifier [Axis]: Clad-Rex Steel, LLC, Secured Debt Two | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 10.00% 10.50% 10.00% 10.50%  
Spread   9.50%   9.50%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     0 0  
Amount of Interest, Fees or Dividends Credited to Income     81 878  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     1,071 10,853  
Gross Additions     0 0  
Gross Reductions     24 460  
Ending balance $ 1,047 $ 10,393 $ 1,047 10,393  
Investment, Identifier [Axis]: Clad-Rex Steel, LLC, Secured Debt Two December 20, 2016          
Schedule of Investments [Line Items]          
Total Rate 10.00%   10.00%    
Investment, Identifier [Axis]: Clad-Rex Steel, LLC, Secured Debt Two December 20,2016          
Schedule of Investments [Line Items]          
Total Rate         10.00%
Investment, Identifier [Axis]: Clarius BIGS, LLC , Secured Debt September 23,2014          
Schedule of Investments [Line Items]          
Total Rate [1],[10],[15] 15.00%   15.00%    
PIK Rate [1],[10],[15] 15.00%   15.00%    
Investment, Identifier [Axis]: Clarius BIGS, LLC, Secured Debt September 23,2014          
Schedule of Investments [Line Items]          
Total Rate [7],[9],[11]         15.00%
PIK Rate [7],[9],[11]         15.00%
Investment, Identifier [Axis]: Classic H&G Holdings, LLC, Preferred Member Units | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     8,530 4,110  
Amount of Interest, Fees or Dividends Credited to Income     1,294 820  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     15,260 9,510  
Gross Additions     8,530 4,110  
Gross Reductions     0 0  
Ending balance $ 23,790 $ 13,620 $ 23,790 $ 13,620  
Investment, Identifier [Axis]: Classic H&G Holdings, LLC, Secured Debt One | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 8.38% 7.00% 8.38% 7.00%  
Spread 6.00% 6.00% 6.00% 6.00%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     0 0  
Amount of Interest, Fees or Dividends Credited to Income     455 26  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     4,000 0  
Gross Additions     11,720 1,400  
Gross Reductions     7,960 0  
Ending balance $ 7,760 $ 1,400 $ 7,760 $ 1,400  
Investment, Identifier [Axis]: Classic H&G Holdings, LLC, Secured Debt One March 12, 2020          
Schedule of Investments [Line Items]          
Total Rate [3] 8.38%   8.38%    
Spread [3] 6.00%   6.00%    
Investment, Identifier [Axis]: Classic H&G Holdings, LLC, Secured Debt One March 12,2020          
Schedule of Investments [Line Items]          
Total Rate [6]         7.00%
Spread [6]         6.00%
Investment, Identifier [Axis]: Classic H&G Holdings, LLC, Secured Debt Two | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 8.00% 8.00% 8.00% 8.00%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     (32) (73)  
Amount of Interest, Fees or Dividends Credited to Income     1,201 1,807  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     19,274 24,800  
Gross Additions     32 73  
Gross Reductions     32 5,599  
Ending balance $ 19,274 $ 19,274 $ 19,274 19,274  
Investment, Identifier [Axis]: Classic H&G Holdings, LLC, Secured Debt Two March 12, 2020          
Schedule of Investments [Line Items]          
Total Rate 8.00%   8.00%    
Investment, Identifier [Axis]: Classic H&G Holdings, LLC, Secured Debt Two March 12,2020          
Schedule of Investments [Line Items]          
Total Rate         8.00%
Investment, Identifier [Axis]: Cody Pools, Inc., Preferred Member Units | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     9,570    
Amount of Interest, Fees or Dividends Credited to Income     3,710    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     47,640    
Gross Additions     9,570    
Gross Reductions     0    
Ending balance $ 57,210   $ 57,210    
Investment, Identifier [Axis]: Cody Pools, Inc., Preferred Member Units | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       15,450  
Amount of Interest, Fees or Dividends Credited to Income       1,602  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       14,940  
Gross Additions       15,450  
Gross Reductions       0  
Ending balance   $ 30,390   $ 30,390  
Investment, Identifier [Axis]: Cody Pools, Inc., Secured Debt | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate   12.25%   12.25%  
Spread   10.50%   10.50%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       6  
Amount of Interest, Fees or Dividends Credited to Income       1,400  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       14,216  
Gross Additions       8,000  
Gross Reductions       4,169  
Ending balance   $ 18,047   18,047  
Investment, Identifier [Axis]: Cody Pools, Inc., Secured Debt March 06,2020          
Schedule of Investments [Line Items]          
Total Rate [6]         12.25%
Spread [6]         10.50%
Investment, Identifier [Axis]: Cody Pools, Inc., Secured Debt One | Majority-owned investments          
Schedule of Investments [Line Items]          
Spread 10.50%   10.50%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     84    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     (13)    
Gross Additions     2,866    
Gross Reductions     2,864    
Ending balance $ (11)   $ (11)    
Investment, Identifier [Axis]: Cody Pools, Inc., Secured Debt One March 06, 2020          
Schedule of Investments [Line Items]          
Spread [3],[4] 10.50%   10.50%    
Investment, Identifier [Axis]: Cody Pools, Inc., Secured Debt Two | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 13.63%   13.63%    
Spread 10.50%   10.50%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     (66)    
Amount of Interest, Fees or Dividends Credited to Income     4,044    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     42,497    
Gross Additions     66    
Gross Reductions     1,338    
Ending balance $ 41,225   $ 41,225    
Investment, Identifier [Axis]: Cody Pools, Inc., Secured Debt Two March 06, 2020          
Schedule of Investments [Line Items]          
Total Rate [3] 13.63%   13.63%    
Spread [3] 10.50%   10.50%    
Investment, Identifier [Axis]: Colonial Electric Company LLC, Preferred Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     80 780  
Amount of Interest, Fees or Dividends Credited to Income     1,287 200  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     9,130 0  
Gross Additions     80 8,460  
Gross Reductions     0 0  
Ending balance $ 9,210 $ 8,460 9,210 $ 8,460  
Investment, Identifier [Axis]: Colonial Electric Company LLC, Secured Debt | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate   12.00%   12.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       1,938  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       0  
Gross Additions       24,969  
Gross Reductions       315  
Ending balance   $ 24,654   24,654  
Investment, Identifier [Axis]: Colonial Electric Company LLC, Secured Debt March 31,2021          
Schedule of Investments [Line Items]          
Total Rate         12.00%
Investment, Identifier [Axis]: Colonial Electric Company LLC, Secured Debt One | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     46    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     1,600    
Gross Reductions     1,600    
Ending balance $ 0   $ 0    
Investment, Identifier [Axis]: Colonial Electric Company LLC, Secured Debt Two | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 12.00%   12.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     2,224    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     24,351    
Gross Additions     45    
Gross Reductions     945    
Ending balance $ 23,451   $ 23,451    
Investment, Identifier [Axis]: Colonial Electric Company LLC, Secured Debt Two March 31, 2021          
Schedule of Investments [Line Items]          
Total Rate 12.00%   12.00%    
Investment, Identifier [Axis]: CompareNetworks Topco, LLC, Preferred Member Units | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     6,570    
Amount of Interest, Fees or Dividends Credited to Income     474    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     12,000    
Gross Additions     6,570    
Gross Reductions     0    
Ending balance $ 18,570   $ 18,570    
Investment, Identifier [Axis]: CompareNetworks Topco, LLC, Preferred Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       5,220  
Amount of Interest, Fees or Dividends Credited to Income       316  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       6,780  
Gross Additions       5,220  
Gross Reductions       0  
Ending balance   $ 12,000   $ 12,000  
Investment, Identifier [Axis]: CompareNetworks Topco, LLC, Secured Debt | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate   10.00%   10.00%  
Spread   9.00%   9.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       (16)  
Amount of Interest, Fees or Dividends Credited to Income       609  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       7,954  
Gross Additions       15  
Gross Reductions       1,492  
Ending balance   $ 6,477   6,477  
Investment, Identifier [Axis]: CompareNetworks Topco, LLC, Secured Debt January 29,2019          
Schedule of Investments [Line Items]          
Total Rate [6]         10.00%
Spread [6]         9.00%
Investment, Identifier [Axis]: CompareNetworks Topco, LLC, Secured Debt One | Majority-owned investments          
Schedule of Investments [Line Items]          
Spread 9.00%   9.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     0    
Gross Reductions     0    
Ending balance $ 0   $ 0    
Investment, Identifier [Axis]: CompareNetworks Topco, LLC, Secured Debt Two | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 11.63%   11.63%    
Spread 9.00%   9.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     (13)    
Amount of Interest, Fees or Dividends Credited to Income     468    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     6,477    
Gross Additions     13    
Gross Reductions     1,140    
Ending balance $ 5,350   $ 5,350    
Investment, Identifier [Axis]: CompareNetworks Topco, LLC, Secured Debt Two January 29, 2019          
Schedule of Investments [Line Items]          
Total Rate [3] 11.63%   11.63%    
Spread [3] 9.00%   9.00%    
Investment, Identifier [Axis]: Computer Data Source, LLC, Secured Debt August 06,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         8.50%
Spread [6],[7]         7.50%
Investment, Identifier [Axis]: Computer Data Source, LLC, Secured Debt One August 06, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 10.13%   10.13%    
Spread [1],[3] 7.50%   7.50%    
Investment, Identifier [Axis]: Computer Data Source, LLC, Secured Debt Two August 06, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 10.37%   10.37%    
Spread [1],[3] 7.50%   7.50%    
Investment, Identifier [Axis]: Congruent Credit Opportunities Funds, LP Interests (Congruent Credit Opportunities Fund II, LP) | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       (4,449)  
Amount of Unrealized Gain/(Loss)       4,355  
Amount of Interest, Fees or Dividends Credited to Income       0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       94  
Gross Additions       4,355  
Gross Reductions       4,449  
Ending balance   0   0  
Investment, Identifier [Axis]: Congruent Credit Opportunities Funds, LP Interests (Congruent Credit Opportunities Fund III, LP) | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     (63) (96)  
Amount of Interest, Fees or Dividends Credited to Income     427 583  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     9,959 11,540  
Gross Additions     0 0  
Gross Reductions     2,105 1,137  
Ending balance $ 7,854 10,403 7,854 10,403  
Investment, Identifier [Axis]: Copper Trail Energy Fund I, LP - CTMH, LP Interests (CTMH, LP) | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0 0  
Amount of Unrealized Gain/(Loss)     0 0  
Amount of Interest, Fees or Dividends Credited to Income     0 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     710 747  
Gross Additions     0 0  
Gross Reductions     0 37  
Ending balance 710 710 710 710  
Investment, Identifier [Axis]: Copper Trail Energy Fund I, LP, LP Interests (Copper Trail Energy Fund I, LP) | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       (203)  
Amount of Unrealized Gain/(Loss)       379  
Amount of Interest, Fees or Dividends Credited to Income       378  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       1,782  
Gross Additions       379  
Gross Reductions       2,161  
Ending balance   $ 0   $ 0  
Investment, Identifier [Axis]: DMA Industries, LLC, Preferred Equity | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0    
Amount of Unrealized Gain/(Loss)     1,316    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     5,944    
Gross Additions     1,316    
Gross Reductions     0    
Ending balance $ 7,260   $ 7,260    
Investment, Identifier [Axis]: DMA Industries, LLC, Secured Debt | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 12.00%   12.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     175    
Amount of Interest, Fees or Dividends Credited to Income     1,961    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     20,993    
Gross Additions     207    
Gross Reductions     0    
Ending balance $ 21,200   $ 21,200    
Investment, Identifier [Axis]: DMA Industries, LLC, Secured Debt November 19, 2021          
Schedule of Investments [Line Items]          
Total Rate 12.00%   12.00%    
Investment, Identifier [Axis]: DMA Industries, LLC, Secured Debt November 30,2015          
Schedule of Investments [Line Items]          
Total Rate         12.00%
Investment, Identifier [Axis]: DTE Enterprises LLC Class A Class AA Preferred Member Units (non-voting) April 13, 2018          
Schedule of Investments [Line Items]          
Total Rate [1],[17] 10.00%   10.00%    
PIK Rate [1],[17] 10.00%   10.00%    
Investment, Identifier [Axis]: DTE Enterprises LLC Class A Preferred Member Units April 13, 2018          
Schedule of Investments [Line Items]          
Total Rate [1] 8.00%   8.00%    
PIK Rate [1] 8.00%   8.00%    
Investment, Identifier [Axis]: DTE Enterprises LLC Secured Debt One April 13, 2018          
Schedule of Investments [Line Items]          
Spread [1],[3],[4] 7.50%   7.50%    
Investment, Identifier [Axis]: DTE Enterprises LLC Secured Debt Two April 13, 2018          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 10.44%   10.44%    
Spread [1],[3] 7.50%   7.50%    
Investment, Identifier [Axis]: DTE Enterprises, LLC, Class A Preferred Member Units April 13,2018          
Schedule of Investments [Line Items]          
Total Rate [7]         8.00%
PIK Rate [7]         8.00%
Investment, Identifier [Axis]: DTE Enterprises, LLC, Class AA Preferred Member Units (non-voting) April 13,2018          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         10.00%
PIK Rate [6],[7]         10.00%
Investment, Identifier [Axis]: DTE Enterprises, LLC, Secured Debt April 13,2018          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         9.50%
Spread [6],[7]         8.00%
Investment, Identifier [Axis]: Darr Equipment LP, Secured Debt December 26,2017          
Schedule of Investments [Line Items]          
Total Rate [7]         12.50%
PIK Rate [7]         1.00%
Investment, Identifier [Axis]: Datacom, LLC , Preferred Member Units | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     60    
Amount of Interest, Fees or Dividends Credited to Income     72    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     2,610    
Gross Additions     60    
Gross Reductions     0    
Ending balance $ 2,670   $ 2,670    
Investment, Identifier [Axis]: Datacom, LLC , Secured Debt One | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 7.50% 8.00% 7.50% 8.00%  
Amount of Realized Gain/(Loss)     $ 0 $ (1,800)  
Amount of Unrealized Gain/(Loss)     0 185  
Amount of Interest, Fees or Dividends Credited to Income     0 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0 1,615  
Gross Additions     223 185  
Gross Reductions     0 1,800  
Ending balance $ 223 $ 0 $ 223 $ 0  
Investment, Identifier [Axis]: Datacom, LLC , Secured Debt Three | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate   5.00%   5.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       564  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       0  
Gross Additions       8,288  
Gross Reductions       81  
Ending balance   $ 8,207   $ 8,207  
Investment, Identifier [Axis]: Datacom, LLC , Secured Debt Two | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 7.50% 10.50% 7.50% 10.50%  
PIK Rate   10.50%   10.50%  
Amount of Realized Gain/(Loss)     $ 0 $ (1,801)  
Amount of Unrealized Gain/(Loss)     160 1,945  
Amount of Interest, Fees or Dividends Credited to Income     624 1  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     7,668 10,531  
Gross Additions     284 1,945  
Gross Reductions     203 12,476  
Ending balance $ 7,749 $ 0 $ 7,749 0  
Investment, Identifier [Axis]: Datacom, LLC, Preferred Member Units One | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       (1,294)  
Amount of Unrealized Gain/(Loss)       1,294  
Amount of Interest, Fees or Dividends Credited to Income       0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       0  
Gross Additions       1,294  
Gross Reductions       1,294  
Ending balance   0   0  
Investment, Identifier [Axis]: Datacom, LLC, Preferred Member Units Three | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       0  
Gross Additions       2,610  
Gross Reductions       0  
Ending balance   2,610   2,610  
Investment, Identifier [Axis]: Datacom, LLC, Preferred Member Units Two | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       (6,030)  
Amount of Unrealized Gain/(Loss)       6,030  
Amount of Interest, Fees or Dividends Credited to Income       0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       0  
Gross Additions       6,030  
Gross Reductions       6,030  
Ending balance   0   0  
Investment, Identifier [Axis]: Datacom, LLC, Secured Debt March 31,2021          
Schedule of Investments [Line Items]          
Total Rate         5.00%
Investment, Identifier [Axis]: Datacom, LLC, Secured Debt One March 1, 2022          
Schedule of Investments [Line Items]          
Total Rate 7.50%   7.50%    
Investment, Identifier [Axis]: Datacom, LLC, Secured Debt Two March 31, 2021          
Schedule of Investments [Line Items]          
Total Rate 7.50%   7.50%    
Investment, Identifier [Axis]: Digital Products Holdings LLC, Preferred Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     0 0  
Amount of Interest, Fees or Dividends Credited to Income     150 150  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     9,835 9,835  
Gross Additions     0 0  
Gross Reductions     0 0  
Ending balance $ 9,835 $ 9,835 $ 9,835 $ 9,835  
Investment, Identifier [Axis]: Digital Products Holdings LLC, Secured Debt | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate   11.00%   11.00%  
Spread   10.00%   10.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       1,494  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       18,077  
Gross Additions       33  
Gross Reductions       990  
Ending balance   $ 17,120   17,120  
Investment, Identifier [Axis]: Digital Products Holdings LLC, Secured Debt | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 12.63%   12.63%    
Spread 10.00%   10.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     1,436    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     16,801    
Gross Additions     33    
Gross Reductions     990    
Ending balance $ 15,844   $ 15,844    
Investment, Identifier [Axis]: Digital Products Holdings LLC, Secured Debt April 01, 2018          
Schedule of Investments [Line Items]          
Total Rate [3] 12.63%   12.63%    
Spread [3] 10.00%   10.00%    
Investment, Identifier [Axis]: Digital Products Holdings LLC, Secured Debt January 29,2019          
Schedule of Investments [Line Items]          
Total Rate [6]         11.00%
Spread [6]         10.00%
Investment, Identifier [Axis]: Direct Marketing Solutions, Inc., Preferred Stock | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     3,870 (2,230)  
Amount of Interest, Fees or Dividends Credited to Income     1,029 672  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     18,350 19,380  
Gross Additions     3,870 0  
Gross Reductions     0 2,230  
Ending balance $ 22,220 $ 17,150 $ 22,220 $ 17,150  
Investment, Identifier [Axis]: Direct Marketing Solutions, Inc., Secured Debt | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate   12.00%   12.00%  
Spread   11.00%   11.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       1,401  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       15,006  
Gross Additions       28  
Gross Reductions       235  
Ending balance   $ 14,799   14,799  
Investment, Identifier [Axis]: Direct Marketing Solutions, Inc., Secured Debt February 13,2018          
Schedule of Investments [Line Items]          
Total Rate [6]         12.00%
Spread [6]         11.00%
Investment, Identifier [Axis]: Direct Marketing Solutions, Inc., Secured Debt One | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 13.63%   13.63%    
Spread 11.00%   11.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     14    
Amount of Interest, Fees or Dividends Credited to Income     102    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     (22)    
Gross Additions     4,272    
Gross Reductions     850    
Ending balance $ 3,400   $ 3,400    
Investment, Identifier [Axis]: Direct Marketing Solutions, Inc., Secured Debt One February 13, 2018          
Schedule of Investments [Line Items]          
Total Rate [3] 13.63%   13.63%    
Spread [3] 11.00%   11.00%    
Investment, Identifier [Axis]: Direct Marketing Solutions, Inc., Secured Debt Two | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 13.63%   13.63%    
Spread 11.00%   11.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     (53)    
Amount of Interest, Fees or Dividends Credited to Income     2,322    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     24,070    
Gross Additions     53    
Gross Reductions     1,073    
Ending balance $ 23,050   $ 23,050    
Investment, Identifier [Axis]: Direct Marketing Solutions, Inc., Secured Debt Two February 13, 2018          
Schedule of Investments [Line Items]          
Total Rate [3] 13.63%   13.63%    
Spread [3] 11.00%   11.00%    
Investment, Identifier [Axis]: Dos Rios Partners, LP Interests (Dos Rios Partners - A, LP) | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     (1,147) 1,450  
Amount of Interest, Fees or Dividends Credited to Income     0 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     10,329 1,720  
Gross Additions     0 1,450  
Gross Reductions     1,147 0  
Ending balance $ 9,182 3,170 9,182 3,170  
Investment, Identifier [Axis]: Dos Rios Partners, LP Interests (Dos Rios Partners, LP) | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0 0  
Amount of Unrealized Gain/(Loss)     (364) 4,567  
Amount of Interest, Fees or Dividends Credited to Income     0 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     3,280 5,417  
Gross Additions     0 4,567  
Gross Reductions     364 0  
Ending balance 2,916 9,984 2,916 9,984  
Investment, Identifier [Axis]: Dos Rios Stone Products LLC, Class A Preferred Units | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0 0  
Amount of Unrealized Gain/(Loss)     (290) (340)  
Amount of Interest, Fees or Dividends Credited to Income     0 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     640 1,250  
Gross Additions     0 0  
Gross Reductions     290 340  
Ending balance $ 350 910 $ 350 910  
Investment, Identifier [Axis]: Dynamic Communities, LLC, Secured Debt July 17,2018          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         9.50%
Spread [6],[7]         8.50%
Investment, Identifier [Axis]: Dynamic Communities, LLC, Secured Debt One July 17, 2018          
Schedule of Investments [Line Items]          
Spread [1],[3],[4] 8.50%   8.50%    
Investment, Identifier [Axis]: Dynamic Communities, LLC, Secured Debt Three September 28, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 12.75%   12.75%    
Spread [1],[3] 9.50%   9.50%    
Investment, Identifier [Axis]: Dynamic Communities, LLC, Secured Debt Two September 28, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 10.75%   10.75%    
Spread [1],[3] 7.50%   7.50%    
Investment, Identifier [Axis]: EIG Fund Investments, LP Interests (EIG Global Private Debt Fund-A, L.P.) | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 11 9  
Amount of Unrealized Gain/(Loss)     0 92  
Amount of Interest, Fees or Dividends Credited to Income     46 35  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     547 526  
Gross Additions     1,093 125  
Gross Reductions     170 177  
Ending balance $ 1,470 474 $ 1,470 474  
Investment, Identifier [Axis]: EPIC Y-Grade Services, LP, Secured Debt June 22, 2018          
Schedule of Investments [Line Items]          
Total Rate [3],[8] 8.08%   8.08%    
Spread [3],[8] 6.00%   6.00%    
Investment, Identifier [Axis]: EPIC Y-Grade Services, LP, Secured Debt June 22,2018          
Schedule of Investments [Line Items]          
Total Rate [5],[6]         7.00%
Spread [5],[6]         6.00%
Investment, Identifier [Axis]: East Teak Fine Hardwoods, Inc., Common Stock | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       (80)  
Amount of Unrealized Gain/(Loss)       180  
Amount of Interest, Fees or Dividends Credited to Income       100  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       300  
Gross Additions       180  
Gross Reductions       480  
Ending balance   0   0  
Investment, Identifier [Axis]: Eastern Wholesale Fence LLC, Secured Debt November 19,2020          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         8.00%
Spread [6],[7]         7.00%
Investment, Identifier [Axis]: Eastern Wholesale Fence LLC, Secured Debt One November 19, 2020          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 10.07%   10.07%    
Spread [1],[3] 7.00%   7.00%    
Investment, Identifier [Axis]: Eastern Wholesale Fence LLC, Secured Debt Three November 19, 2020          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 10.07%   10.07%    
Spread [1],[3] 7.00%   7.00%    
Investment, Identifier [Axis]: Eastern Wholesale Fence LLC, Secured Debt Two November 19, 2020          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 10.07%   10.07%    
Spread [1],[3] 7.00%   7.00%    
Investment, Identifier [Axis]: Emerald Technologies Acquisition Co, Inc., Secured Debt February 10, 2022          
Schedule of Investments [Line Items]          
Total Rate [2],[3],[8] 9.38%   9.38%    
Spread [2],[3],[8] 6.25%   6.25%    
Investment, Identifier [Axis]: Engineering Research & Consulting, LLC, Secured Debt One May 23, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 11.00%   11.00%    
Spread [1],[2],[3] 6.25%   6.25%    
Investment, Identifier [Axis]: Engineering Research & Consulting, LLC, Secured Debt Two May 23, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 9.38%   9.38%    
Spread [1],[2],[3] 6.25%   6.25%    
Investment, Identifier [Axis]: Event Holdco, LLC, Secured Debt December 22,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[7],[16]         8.00%
Spread [6],[7],[16]         7.00%
Investment, Identifier [Axis]: Event Holdco, LLC, Secured Debt One December 22, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3],[18] 9.25%   9.25%    
Spread [1],[3],[18] 7.00%   7.00%    
Investment, Identifier [Axis]: Event Holdco, LLC, Secured Debt Two December 22, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3],[18] 10.67%   10.67%    
Spread [1],[3],[18] 7.00%   7.00%    
Investment, Identifier [Axis]: Flame King Holdings, LLC, Preferred Equity | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     3,440    
Amount of Interest, Fees or Dividends Credited to Income     909    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     10,400    
Gross Additions     3,440    
Gross Reductions     0    
Ending balance $ 13,840   $ 13,840    
Investment, Identifier [Axis]: Flame King Holdings, LLC, Secured Debt One | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 9.25%   9.25%    
Spread 6.50%   6.50%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     64    
Amount of Interest, Fees or Dividends Credited to Income     464    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     6,324    
Gross Additions     1,276    
Gross Reductions     0    
Ending balance $ 7,600   $ 7,600    
Investment, Identifier [Axis]: Flame King Holdings, LLC, Secured Debt One October 29, 2021          
Schedule of Investments [Line Items]          
Total Rate [3] 9.25%   9.25%    
Spread [3] 6.50%   6.50%    
Investment, Identifier [Axis]: Flame King Holdings, LLC, Secured Debt One October 29,2021          
Schedule of Investments [Line Items]          
Total Rate [6]         7.50%
Spread [6]         6.50%
Investment, Identifier [Axis]: Flame King Holdings, LLC, Secured Debt Two | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 13.75%   13.75%    
Spread 11.00%   11.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     173    
Amount of Interest, Fees or Dividends Credited to Income     2,035    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     20,996    
Gross Additions     204    
Gross Reductions     0    
Ending balance $ 21,200   $ 21,200    
Investment, Identifier [Axis]: Flame King Holdings, LLC, Secured Debt Two October 29, 2021          
Schedule of Investments [Line Items]          
Total Rate [3] 13.75%   13.75%    
Spread [3] 11.00%   11.00%    
Investment, Identifier [Axis]: Flame King Holdings, LLC, Secured Debt Two October 29,2021          
Schedule of Investments [Line Items]          
Total Rate [6]         12.00%
Spread [6]         11.00%
Investment, Identifier [Axis]: Flip Electronics LLC, Secured Debt January 04,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[7],[22]         9.09%
Spread [6],[7],[22]         8.09%
Investment, Identifier [Axis]: Flip Electronics LLC, Secured Debt One March 24, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 11.21%   11.21%    
Spread [1],[2],[3] 7.50%   7.50%    
Investment, Identifier [Axis]: Flip Electronics LLC, Secured Debt Two January 04, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 11.19%   11.19%    
Spread [1],[2],[3] 7.50%   7.50%    
Investment, Identifier [Axis]: Fortna Acquisition Co., Inc., Secured Debt July 23,2019          
Schedule of Investments [Line Items]          
Total Rate [7]         5.09%
Spread [7]         5.00%
Investment, Identifier [Axis]: Freeport Financial SBIC Fund LP, LP Interests (Freeport Financial SBIC Fund LP) | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     (52) 869  
Amount of Interest, Fees or Dividends Credited to Income     2 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     6,078 5,264  
Gross Additions     0 869  
Gross Reductions     1,962 0  
Ending balance $ 4,116 6,133 4,116 6,133  
Investment, Identifier [Axis]: Freeport Financial SBIC Fund LP, LP Interests (Freeport First Lien Loan Fund III LP) | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0 0  
Amount of Unrealized Gain/(Loss)     (57) 66  
Amount of Interest, Fees or Dividends Credited to Income     309 613  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     7,231 10,321  
Gross Additions     0 66  
Gross Reductions     1,056 3,156  
Ending balance $ 6,175 $ 7,231 $ 6,175 $ 7,231  
Investment, Identifier [Axis]: Fuse, LLC, Secured Debt June 30, 2019          
Schedule of Investments [Line Items]          
Total Rate [8] 12.00%   12.00%    
Investment, Identifier [Axis]: Fuse, LLC, Secured Debt June 30,2019          
Schedule of Investments [Line Items]          
Total Rate [5]         12.00%
Investment, Identifier [Axis]: GFG Group, LLC., 12.00% Secured Debt | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate   12.00%   12.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       1,211  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       0  
Gross Additions       15,631  
Gross Reductions       3,200  
Ending balance   $ 12,431   12,431  
Investment, Identifier [Axis]: GFG Group, LLC., Preferred Member Units | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     150 2,090  
Amount of Interest, Fees or Dividends Credited to Income     417 460  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     6,990 0  
Gross Additions     150 6,990  
Gross Reductions     0 0  
Ending balance $ 7,140 6,990 $ 7,140 6,990  
Investment, Identifier [Axis]: GFG Group, LLC., Secured Debt | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 9.00%   9.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     (25)    
Amount of Interest, Fees or Dividends Credited to Income     969    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     12,545    
Gross Additions     25    
Gross Reductions     825    
Ending balance $ 11,745   $ 11,745    
Investment, Identifier [Axis]: GFG Group, LLC., Secured Debt March 31, 2021          
Schedule of Investments [Line Items]          
Total Rate 9.00%   9.00%    
Investment, Identifier [Axis]: GFG Group, LLC., Secured Debt March 31,2021          
Schedule of Investments [Line Items]          
Total Rate         12.00%
Investment, Identifier [Axis]: GRT Rubber Technologies LLC, Member Units | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     0 0  
Amount of Interest, Fees or Dividends Credited to Income     2,483 3,636  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     46,190 44,900  
Gross Additions     0 0  
Gross Reductions     0 0  
Ending balance $ 46,190 $ 44,900 $ 46,190 $ 44,900  
Investment, Identifier [Axis]: GRT Rubber Technologies LLC, Secured Debt | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 10.56% 7.10% 10.56% 7.10%  
Spread 8.00% 7.00% 8.00% 7.00%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     (21) 0  
Amount of Interest, Fees or Dividends Credited to Income     2,756 904  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     38,885 16,775  
Gross Additions     1,629 0  
Gross Reductions     21 0  
Ending balance $ 40,493 $ 16,775 $ 40,493 16,775  
Investment, Identifier [Axis]: GRT Rubber Technologies LLC, Secured Debt December 19, 2014          
Schedule of Investments [Line Items]          
Total Rate 10.56%   10.56%    
Spread 8.00%   8.00%    
Investment, Identifier [Axis]: GRT Rubber Technologies LLC, Secured Debt December 19,2014          
Schedule of Investments [Line Items]          
Total Rate         8.10%
Spread         8.00%
Investment, Identifier [Axis]: GS HVAM Intermediate, LLC, Secured Debt October 18,2019          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         6.75%
Spread [6],[7]         5.75%
Investment, Identifier [Axis]: GS HVAM Intermediate, LLC, Secured Debt One October 18, 2019          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 8.26%   8.26%    
Spread [1],[3] 6.50%   6.50%    
Investment, Identifier [Axis]: GS HVAM Intermediate, LLC, Secured Debt Two October 18, 2019          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 9.62%   9.62%    
Spread [1],[3] 6.50%   6.50%    
Investment, Identifier [Axis]: GS Operating, LLC, Secured Debt February 24,2020          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         8.00%
Spread [6],[7]         6.50%
Investment, Identifier [Axis]: GULF PACIFIC ACQUISITION, LLC, Secured Debt One September 30, 2022          
Schedule of Investments [Line Items]          
Spread [1],[2],[3],[4] 6.00%   6.00%    
Investment, Identifier [Axis]: GULF PACIFIC ACQUISITION, LLC, Secured Debt Three September 30, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 9.59%   9.59%    
Spread [1],[2],[3] 6.00%   6.00%    
Investment, Identifier [Axis]: GULF PACIFIC ACQUISITION, LLC, Secured Debt Two September 30, 2022          
Schedule of Investments [Line Items]          
Spread [1],[2],[3],[4] 6.00%   6.00%    
Investment, Identifier [Axis]: Gamber-Johnson Holdings, LLC, Member Units | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     (3,230) 32  
Amount of Interest, Fees or Dividends Credited to Income     715 3,744  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     49,700 52,490  
Gross Additions     0 2,880  
Gross Reductions     3,230 0  
Ending balance $ 46,470 $ 55,370 $ 46,470 $ 55,370  
Investment, Identifier [Axis]: Gamber-Johnson Holdings, LLC, Secured Debt | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate   9.00%   9.00%  
Spread   7.00%   7.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       (31)  
Amount of Interest, Fees or Dividends Credited to Income       1,435  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       19,838  
Gross Additions       830  
Gross Reductions       30  
Ending balance   $ 20,638   20,638  
Investment, Identifier [Axis]: Gamber-Johnson Holdings, LLC, Secured Debt June 24,2016          
Schedule of Investments [Line Items]          
Total Rate [6]         9.50%
Spread [6]         7.50%
Investment, Identifier [Axis]: Gamber-Johnson Holdings, LLC, Secured Debt One | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 10.63%   10.63%    
Spread 8.00%   8.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     5    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     0    
Gross Reductions     0    
Ending balance $ 0   $ 0    
Investment, Identifier [Axis]: Gamber-Johnson Holdings, LLC, Secured Debt One June 24, 2016          
Schedule of Investments [Line Items]          
Spread [3],[4] 8.00%   8.00%    
Investment, Identifier [Axis]: Gamber-Johnson Holdings, LLC, Secured Debt Two | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 10.63%   10.63%    
Spread 8.00%   8.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     (4)    
Amount of Interest, Fees or Dividends Credited to Income     1,722    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     21,598    
Gross Additions     2,484    
Gross Reductions     4    
Ending balance $ 24,078   $ 24,078    
Investment, Identifier [Axis]: Gamber-Johnson Holdings, LLC, Secured Debt Two June 24, 2016          
Schedule of Investments [Line Items]          
Total Rate [3] 10.63%   10.63%    
Spread [3] 8.00%   8.00%    
Investment, Identifier [Axis]: Garreco, LLC, Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       800  
Amount of Interest, Fees or Dividends Credited to Income       0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       1,410  
Gross Additions       800  
Gross Reductions       0  
Ending balance   $ 2,210   $ 2,210  
Investment, Identifier [Axis]: Garreco, LLC, Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     (280)    
Amount of Interest, Fees or Dividends Credited to Income     321    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     2,270    
Gross Additions     0    
Gross Reductions     280    
Ending balance $ 1,990   $ 1,990    
Investment, Identifier [Axis]: Garreco, LLC, Secured Debt | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate   9.00%   9.00%  
Spread   8.00%   8.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       308  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       4,519  
Gross Additions       0  
Gross Reductions       0  
Ending balance   $ 4,519   4,519  
Investment, Identifier [Axis]: Garreco, LLC, Secured Debt | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 9.50%   9.50%    
Spread 8.00%   8.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     290    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     4,196    
Gross Additions     0    
Gross Reductions     370    
Ending balance $ 3,826   $ 3,826    
Investment, Identifier [Axis]: Garreco, LLC, Secured Debt July 15, 2013          
Schedule of Investments [Line Items]          
Total Rate [3],[23] 9.50%   9.50%    
Spread [3],[23] 8.00%   8.00%    
Investment, Identifier [Axis]: Garreco, LLC, Secured Debt July 15,2013          
Schedule of Investments [Line Items]          
Total Rate [6],[24]         9.00%
Spread [6],[24]         8.00%
Investment, Identifier [Axis]: GeoStabilization International (GSI), Secured Debt January 02, 2019          
Schedule of Investments [Line Items]          
Total Rate [8] 8.07%   8.07%    
Spread [8] 5.25%   5.25%    
Investment, Identifier [Axis]: GeoStabilization International (GSI), Secured Debt January 02,2019          
Schedule of Investments [Line Items]          
Total Rate [5]         5.35%
Spread [5]         5.25%
Investment, Identifier [Axis]: GoWireless Holdings, Inc., Secured Debt January 10,2018          
Schedule of Investments [Line Items]          
Total Rate [5],[6]         7.50%
Spread [5],[6]         6.50%
Investment, Identifier [Axis]: Grupo Hima San Pablo, Inc., Secured Debt March 07,2013          
Schedule of Investments [Line Items]          
Total Rate [5],[6],[9],[11]         9.25%
Spread [5],[6],[9],[11]         7.00%
Investment, Identifier [Axis]: Grupo Hima San Pablo, Inc., Secured Debt One March 07,2013          
Schedule of Investments [Line Items]          
Total Rate [5],[9],[11]         13.75%
Investment, Identifier [Axis]: Grupo Hima San Pablo, Inc., Secured Debt Two March 07,2013          
Schedule of Investments [Line Items]          
Total Rate [5],[11]         12.00%
Investment, Identifier [Axis]: Gulf Manufacturing, LLC, Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       1,130  
Amount of Interest, Fees or Dividends Credited to Income       1,210  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       4,510  
Gross Additions       1,130  
Gross Reductions       0  
Ending balance   $ 5,640   $ 5,640  
Investment, Identifier [Axis]: Gulf Manufacturing, LLC, Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     170    
Amount of Interest, Fees or Dividends Credited to Income     1,365    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     5,640    
Gross Additions     170    
Gross Reductions     0    
Ending balance $ 5,810   5,810    
Investment, Identifier [Axis]: Gulf Publishing Holdings, LLC, Member Units One | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     0    
Gross Reductions     0    
Ending balance 0   0    
Investment, Identifier [Axis]: Gulf Publishing Holdings, LLC, Member Units Two | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0    
Amount of Unrealized Gain/(Loss)     (1,680)    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     5,600    
Gross Reductions     1,680    
Ending balance $ 3,920   $ 3,920    
Investment, Identifier [Axis]: Gulf Publishing Holdings, LLC, Secured Debt April 29, 2016          
Schedule of Investments [Line Items]          
Total Rate [11]         12.50%
PIK Rate [11]         6.25%
Investment, Identifier [Axis]: Gulf Publishing Holdings, LLC, Secured Debt One | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate   10.50%   10.50%  
Spread 9.50% 9.50% 9.50% 9.50%  
PIK Rate   5.25%   5.25%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     0 0  
Amount of Interest, Fees or Dividends Credited to Income     7 17  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     257 250  
Gross Additions     0 14  
Gross Reductions     257 7  
Ending balance $ 0 $ 257 $ 0 $ 257  
Investment, Identifier [Axis]: Gulf Publishing Holdings, LLC, Secured Debt One September 29, 2017          
Schedule of Investments [Line Items]          
Spread [3],[4] 9.50%   9.50%    
Investment, Identifier [Axis]: Gulf Publishing Holdings, LLC, Secured Debt September 29,2017          
Schedule of Investments [Line Items]          
Total Rate [6],[11]         10.50%
Spread [6],[11]         9.50%
PIK Rate [6],[11]         5.25%
Investment, Identifier [Axis]: Gulf Publishing Holdings, LLC, Secured Debt Three | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 12.50%   12.50%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     (116)    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     2,400    
Gross Reductions     116    
Ending balance $ 2,284   2,284    
Investment, Identifier [Axis]: Gulf Publishing Holdings, LLC, Secured Debt Two | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate   12.50%   12.50%  
PIK Rate   6.25%   6.25%  
Amount of Realized Gain/(Loss)     (5,822) $ 0  
Amount of Unrealized Gain/(Loss)     3,848 (2,012)  
Amount of Interest, Fees or Dividends Credited to Income     503 1,065  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     9,717 12,044  
Gross Additions     0 849  
Gross Reductions     9,717 2,431  
Ending balance $ 0 $ 10,462 $ 0 10,462  
Investment, Identifier [Axis]: Gulf Publishing Holdings, LLC, Secured Debt Two July 01, 2022          
Schedule of Investments [Line Items]          
Total Rate 12.50%   12.50%    
Investment, Identifier [Axis]: HDC/HW Intermediate Holdings, Secured Debt December 21,2018          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         8.50%
Spread [6],[7]         7.50%
Investment, Identifier [Axis]: HDC/HW Intermediate Holdings, Secured Debt One December 21, 2018          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 11.76%   11.76%    
Spread [1],[2],[3] 9.50%   9.50%    
PIK Rate [1],[2],[3] 5.75%   5.75%    
Investment, Identifier [Axis]: HDC/HW Intermediate Holdings, Secured Debt Two December 21, 2018          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 11.76%   11.76%    
Spread [1],[2],[3] 9.50%   9.50%    
PIK Rate [1],[2],[3] 5.75%   5.75%    
Investment, Identifier [Axis]: HEADLANDS OP-CO LLC, Secured Debt One August 01, 2022          
Schedule of Investments [Line Items]          
Spread [1],[2],[3],[4] 6.50%   6.50%    
Investment, Identifier [Axis]: HEADLANDS OP-CO LLC, Secured Debt Three August 01, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 9.52%   9.52%    
Spread [1],[2],[3] 6.50%   6.50%    
Investment, Identifier [Axis]: HEADLANDS OP-CO LLC, Secured Debt Two August 01, 2022          
Schedule of Investments [Line Items]          
Spread [1],[2],[3],[4] 6.50%   6.50%    
Investment, Identifier [Axis]: HOWLCO LLC, Secured Debt August 11, 2021          
Schedule of Investments [Line Items]          
Total Rate [3],[8],[25],[26] 8.96%   8.96%    
Spread [3],[8],[25],[26] 6.00%   6.00%    
Investment, Identifier [Axis]: HOWLCO LLC, Secured Debt August 19,2021          
Schedule of Investments [Line Items]          
Total Rate [5],[6],[27],[28]         7.00%
Spread [5],[6],[27],[28]         6.00%
Investment, Identifier [Axis]: HPEP 3, L.P., LP Interests (423 COR, LP) | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     1,400    
Gross Reductions     0    
Ending balance $ 1,400   1,400    
Investment, Identifier [Axis]: HPEP 3, L.P., LP Interests (HPEP 3, L.P.) | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     779 0  
Amount of Unrealized Gain/(Loss)     254 803  
Amount of Interest, Fees or Dividends Credited to Income     (80) 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     4,712 3,258  
Gross Additions     1,033 1,177  
Gross Reductions     1,414 252  
Ending balance 4,331 4,183 4,331 4,183  
Investment, Identifier [Axis]: HPEP 3, L.P., LP Interests (HPEP 4, L.P.) | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     1,896    
Gross Reductions     0    
Ending balance 1,896   1,896    
Investment, Identifier [Axis]: Harrison Hydra-Gen, Ltd., Common Stock | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0 0  
Amount of Unrealized Gain/(Loss)     (250) (1,920)  
Amount of Interest, Fees or Dividends Credited to Income     0 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     3,530 5,450  
Gross Additions     0 0  
Gross Reductions     250 1,920  
Ending balance 3,280 3,530 3,280 3,530  
Investment, Identifier [Axis]: Hawk Ridge Systems, LLC, Secured Debt One December 02,2016          
Schedule of Investments [Line Items]          
Total Rate [6],[27]         7.00%
Spread [6],[27]         6.00%
Investment, Identifier [Axis]: Hawk Ridge Systems, LLC, Secured Debt Two December 02,2016          
Schedule of Investments [Line Items]          
Total Rate [27]         8.00%
Investment, Identifier [Axis]: Hawk Ridge Systems, LLC, Preferred Member Units One | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0 0  
Amount of Unrealized Gain/(Loss)     4,400 270  
Amount of Interest, Fees or Dividends Credited to Income     803 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     14,680 420  
Gross Additions     4,400 270  
Gross Reductions     0 0  
Ending balance 19,080 690 19,080 690  
Investment, Identifier [Axis]: Hawk Ridge Systems, LLC, Preferred Member Units Two | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0 0  
Amount of Unrealized Gain/(Loss)     230 5,130  
Amount of Interest, Fees or Dividends Credited to Income     0 691  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     770 8,030  
Gross Additions     230 5,130  
Gross Reductions     0 0  
Ending balance $ 1,000 $ 13,160 $ 1,000 $ 13,160  
Investment, Identifier [Axis]: Hawk Ridge Systems, LLC, Secured Debt One | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 8.38% 7.00% 8.38% 7.00%  
Spread 6.00% 6.00% 6.00% 6.00%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     0 0  
Amount of Interest, Fees or Dividends Credited to Income     150 23  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     2,585 0  
Gross Additions     597 2,585  
Gross Reductions     0 0  
Ending balance $ 3,182 $ 2,585 $ 3,182 $ 2,585  
Investment, Identifier [Axis]: Hawk Ridge Systems, LLC, Secured Debt One December 02, 2016          
Schedule of Investments [Line Items]          
Total Rate [3] 8.38%   8.38%    
Spread [3] 6.00%   6.00%    
Investment, Identifier [Axis]: Hawk Ridge Systems, LLC, Secured Debt Two | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 8.00% 9.00% 8.00% 9.00%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     (4) (25)  
Amount of Interest, Fees or Dividends Credited to Income     2,145 1,366  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     34,800 18,400  
Gross Additions     3,004 25  
Gross Reductions     4 25  
Ending balance $ 37,800 $ 18,400 $ 37,800 18,400  
Investment, Identifier [Axis]: Hawk Ridge Systems, LLC, Secured Debt Two December 02, 2016          
Schedule of Investments [Line Items]          
Total Rate 8.00%   8.00%    
Investment, Identifier [Axis]: Heartland Dental, LLC, Secured Debt September 09, 2020,          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 9.62%   9.62%    
Spread [1],[3] 6.50%   6.50%    
Investment, Identifier [Axis]: Heartland Dental, LLC, Secured Debt September 09,2020          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         7.50%
Spread [6],[7]         6.50%
Investment, Identifier [Axis]: Houston Plating and Coatings, LLC, Member Units | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     (990) (1,620)  
Amount of Interest, Fees or Dividends Credited to Income     17 180  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     3,210 5,080  
Gross Additions     0 0  
Gross Reductions     990 1,620  
Ending balance $ 2,220 $ 3,460 $ 2,220 $ 3,460  
Investment, Identifier [Axis]: Houston Plating and Coatings, LLC, Unsecured Convertible Debt | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 8.00% 8.00% 8.00% 8.00%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     (210) 0  
Amount of Interest, Fees or Dividends Credited to Income     182 182  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     2,960 2,900  
Gross Additions     0 0  
Gross Reductions     210 0  
Ending balance $ 2,750 $ 2,900 $ 2,750 $ 2,900  
Investment, Identifier [Axis]: Houston Plating and Coatings, LLC, Unsecured Convertible Debt May 01, 2017          
Schedule of Investments [Line Items]          
Total Rate 8.00%   8.00%    
Investment, Identifier [Axis]: Houston Plating and Coatings, LLC, Unsecured Convertible Debt May 01,2017          
Schedule of Investments [Line Items]          
Total Rate         8.00%
Investment, Identifier [Axis]: Hybrid Promotions, LLC, Secured Debt June 30, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 10.33%   10.33%    
Spread [1],[3] 8.25%   8.25%    
Investment, Identifier [Axis]: Hybrid Promotions, LLC, Secured Debt June 30,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         9.25%
Spread [6],[7]         8.25%
Investment, Identifier [Axis]: I-45 SLF LLC, Member Units (Fully diluted 20.0%; 21.75% profits interest) | Affiliate investments          
Schedule of Investments [Line Items]          
Diluted, percentage 20.00%   20.00%    
Profits, percentage 21.75%   21.75%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     (1,880)    
Amount of Interest, Fees or Dividends Credited to Income     1,499    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     14,387    
Gross Additions     0    
Gross Reductions     1,880    
Ending balance $ 12,507   $ 12,507    
Investment, Identifier [Axis]: I-45 SLF LLC, Member Units (Fully diluted 20.0%; 24.40% profits interest) | Affiliate investments          
Schedule of Investments [Line Items]          
Diluted, percentage   20.00%   20.00%  
Profits, percentage   24.40%   24.40%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       413  
Amount of Interest, Fees or Dividends Credited to Income       1,386  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       15,787  
Gross Additions       1,215  
Gross Reductions       2,000  
Ending balance   $ 15,002   15,002  
Investment, Identifier [Axis]: IG Parent Corporation, Secured Debt July 30,2021          
Schedule of Investments [Line Items]          
Total Rate [5],[6]         6.75%
Spread [5],[6]         5.75%
Investment, Identifier [Axis]: IG Parent Corporation, Secured Debt One July 30, 2021          
Schedule of Investments [Line Items]          
Total Rate [2],[3],[8] 8.41%   8.41%    
Spread [2],[3],[8] 5.75%   5.75%    
Investment, Identifier [Axis]: IG Parent Corporation, Secured Debt Two July 30, 2021          
Schedule of Investments [Line Items]          
Total Rate [2],[3],[8] 8.23%   8.23%    
Spread [2],[3],[8] 5.75%   5.75%    
Investment, Identifier [Axis]: INW Manufacturing, LLC, Secured Debt May 19, 2021          
Schedule of Investments [Line Items]          
Total Rate [3],[8] 8.71%   8.71%    
Spread [3],[8] 5.75%   5.75%    
Investment, Identifier [Axis]: INW Manufacturing, LLC, Secured Debt May 19,2021          
Schedule of Investments [Line Items]          
Total Rate [5],[6]         6.50%
Spread [5],[6]         5.75%
Investment, Identifier [Axis]: Implus Footcare, LLC, Secured Debt June 01, 2017          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 10.25%   10.25%    
Spread [1],[3] 7.75%   7.75%    
PIK Rate [1],[3] 0.25%   0.25%    
Investment, Identifier [Axis]: Implus Footcare, LLC, Secured Debt June 01,2017          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         8.75%
Spread [6],[7]         7.75%
Investment, Identifier [Axis]: Independent Pet Partners Intermediate Holdings, LLC, Preferred Stock (non-voting) One December 10, 2020          
Schedule of Investments [Line Items]          
Total Rate [1],[10] 6.00%   6.00%    
PIK Rate [1],[10] 6.00%   6.00%    
Investment, Identifier [Axis]: Independent Pet Partners Intermediate Holdings, LLC, Preferred Stock (non-voting) One December 10,2020          
Schedule of Investments [Line Items]          
Total Rate [7]         6.00%
PIK Rate [7]         6.00%
Investment, Identifier [Axis]: Independent Pet Partners Intermediate Holdings, LLC, Secured Debt August 20,2020          
Schedule of Investments [Line Items]          
Total Rate [7],[29]         7.20%
Investment, Identifier [Axis]: Independent Pet Partners Intermediate Holdings, LLC, Secured Debt December 10,2020          
Schedule of Investments [Line Items]          
Total Rate [7]         6.00%
PIK Rate [7]         6.00%
Investment, Identifier [Axis]: Independent Pet Partners Intermediate Holdings, LLC, Secured Debt One August 20, 2020          
Schedule of Investments [Line Items]          
Total Rate [1],[30] 11.26%   11.26%    
PIK Rate [1],[30] 11.26%   11.26%    
Investment, Identifier [Axis]: Independent Pet Partners Intermediate Holdings, LLC, Secured Debt Two December 10, 2020          
Schedule of Investments [Line Items]          
Total Rate [1],[10] 6.00%   6.00%    
PIK Rate [1],[10] 6.00%   6.00%    
Investment, Identifier [Axis]: Industrial Services Acquisition, LLC, Preferred Member Units January 31,2018          
Schedule of Investments [Line Items]          
Total Rate [7],[14],[16]         10.00%
PIK Rate [7],[14],[16]         10.00%
Investment, Identifier [Axis]: Industrial Services Acquisition, LLC, Preferred Member Units May 17,2019          
Schedule of Investments [Line Items]          
Total Rate [7],[14],[16]         20.00%
PIK Rate [7],[14],[16]         20.00%
Investment, Identifier [Axis]: Industrial Services Acquisition, LLC, Preferred Member Units One January 31, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[17],[18] 10.00%   10.00%    
PIK Rate [1],[17],[18] 10.00%   10.00%    
Investment, Identifier [Axis]: Industrial Services Acquisition, LLC, Preferred Member Units Two May 17, 2019          
Schedule of Investments [Line Items]          
Total Rate [1],[17],[18] 20.00%   20.00%    
PIK Rate [1],[17],[18] 20.00%   20.00%    
Investment, Identifier [Axis]: Industrial Services Acquisition, LLC, Secured Debt August 13,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         7.75%
Spread [6],[7]         6.75%
Investment, Identifier [Axis]: Industrial Services Acquisition, LLC, Secured Debt One August 13, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 9.88%   9.88%    
Spread [1],[3] 6.75%   6.75%    
Investment, Identifier [Axis]: Industrial Services Acquisition, LLC, Secured Debt Two August 13, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 9.69%   9.69%    
Spread [1],[3] 6.75%   6.75%    
Investment, Identifier [Axis]: Infolinks Media Buyco, LLC, Secured Debt November 01,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         7.00%
Spread [6],[7]         6.00%
Investment, Identifier [Axis]: Infolinks Media Buyco, LLC, Secured Debt One November 01, 2021          
Schedule of Investments [Line Items]          
Spread [1],[3],[4] 5.75%   5.75%    
Investment, Identifier [Axis]: Infolinks Media Buyco, LLC, Secured Debt Two November 01, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 9.42%   9.42%    
Spread [1],[3] 5.75%   5.75%    
Investment, Identifier [Axis]: Interface Security Systems, L.L.C, Secured Debt One December 09,2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 12.32%   12.32%    
Spread [1],[3] 10.00%   10.00%    
Investment, Identifier [Axis]: Interface Security Systems, L.L.C, Secured Debt Two August 07,2019          
Schedule of Investments [Line Items]          
Total Rate [1],[3],[10] 10.52%   10.52%    
Spread [1],[3],[10] 7.00%   7.00%    
PIK Rate [1],[3],[10] 1.00%   1.00%    
Investment, Identifier [Axis]: Interface Security Systems, L.L.C, Secured Debt August 07,2019          
Schedule of Investments [Line Items]          
Total Rate [6],[7],[9]         9.75%
Spread [6],[7],[9]         7.00%
PIK Rate [6],[7],[9]         1.00%
Investment, Identifier [Axis]: Interface Security Systems, L.L.C, Secured Debt December 09,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         11.75%
Spread [6],[7]         10.00%
Investment, Identifier [Axis]: Intermedia Holdings, Inc., Secured Debt August 03, 2018          
Schedule of Investments [Line Items]          
Total Rate [3],[8] 9.12%   9.12%    
Spread [3],[8] 6.00%   6.00%    
Investment, Identifier [Axis]: Intermedia Holdings, Inc., Secured Debt August 03,2018          
Schedule of Investments [Line Items]          
Total Rate [5],[6]         7.00%
Spread [5],[6]         6.00%
Investment, Identifier [Axis]: Investments transferred from other 1940 Act classification during the period | Control investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     0 0  
Amount of Interest, Fees or Dividends Credited to Income     985 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     41,748 0  
Gross Additions     0 0  
Gross Reductions     0 0  
Ending balance $ 0 0 0 0  
Investment, Identifier [Axis]: Investments transferred from other 1940 Act classification during the period | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0 0  
Amount of Unrealized Gain/(Loss)     139 0  
Amount of Interest, Fees or Dividends Credited to Income     1,302 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     32,597 (12,263)  
Gross Additions     0 0  
Gross Reductions     0 0  
Ending balance $ 0 0 $ 0 0  
Investment, Identifier [Axis]: Invincible Boat Company, LLC., Secured Debt August 28,2019          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         8.00%
Spread [6],[7]         6.50%
Investment, Identifier [Axis]: Invincible Boat Company, LLC., Secured Debt One August 28, 2019          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 9.42%   9.42%    
Spread [1],[3] 6.50%   6.50%    
Investment, Identifier [Axis]: Invincible Boat Company, LLC., Secured Debt Two August 28, 2019          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 8.75%   8.75%    
Spread [1],[3] 6.50%   6.50%    
Investment, Identifier [Axis]: Iron-Main Investments, LLC, Common Stock | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       0  
Gross Additions       1,027  
Gross Reductions       0  
Ending balance   $ 1,027   $ 1,027  
Investment, Identifier [Axis]: Iron-Main Investments, LLC, Secured Debt September 01,2021          
Schedule of Investments [Line Items]          
Total Rate         12.50%
Investment, Identifier [Axis]: Iron-Main Investments, LLC, Secured Debt Four | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 12.50%   12.50%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     1,926    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     19,805    
Gross Additions     30    
Gross Reductions     0    
Ending balance $ 19,835   $ 19,835    
Investment, Identifier [Axis]: Iron-Main Investments, LLC, Secured Debt Four November 15, 2021          
Schedule of Investments [Line Items]          
Total Rate 12.50%   12.50%    
Investment, Identifier [Axis]: Iron-Main Investments, LLC, Secured Debt One | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 12.50% 12.50% 12.50% 12.50%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     0 0  
Amount of Interest, Fees or Dividends Credited to Income     443 98  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     4,557 0  
Gross Additions     7 3,168  
Gross Reductions     0 0  
Ending balance $ 4,564 $ 3,168 $ 4,564 $ 3,168  
Investment, Identifier [Axis]: Iron-Main Investments, LLC, Secured Debt One August 02, 2021          
Schedule of Investments [Line Items]          
Total Rate 12.50%   12.50%    
Investment, Identifier [Axis]: Iron-Main Investments, LLC, Secured Debt One August 03,2021          
Schedule of Investments [Line Items]          
Total Rate         13.00%
Investment, Identifier [Axis]: Iron-Main Investments, LLC, Secured Debt Three | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 12.50%   12.50%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     848    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     8,944    
Gross Additions     0    
Gross Reductions     0    
Ending balance $ 8,944   $ 8,944    
Investment, Identifier [Axis]: Iron-Main Investments, LLC, Secured Debt Three August 03,2021          
Schedule of Investments [Line Items]          
Total Rate         12.50%
PIK Rate         12.50%
Investment, Identifier [Axis]: Iron-Main Investments, LLC, Secured Debt Three November 15, 2021          
Schedule of Investments [Line Items]          
Total Rate 12.50%   12.50%    
Investment, Identifier [Axis]: Iron-Main Investments, LLC, Secured Debt Two | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 12.50% 13.00% 12.50% 13.00%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     0 0  
Amount of Interest, Fees or Dividends Credited to Income     308 191  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     3,170 0  
Gross Additions     4 4,555  
Gross Reductions     0 0  
Ending balance $ 3,174 $ 4,555 $ 3,174 4,555  
Investment, Identifier [Axis]: Iron-Main Investments, LLC, Secured Debt Two August 03,2021          
Schedule of Investments [Line Items]          
Total Rate         12.50%
Investment, Identifier [Axis]: Iron-Main Investments, LLC, Secured Debt Two September 01, 2021          
Schedule of Investments [Line Items]          
Total Rate 12.50%   12.50%    
Investment, Identifier [Axis]: Iron-Main Investments, LLC,Common Stock | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     1,798    
Gross Additions     0    
Gross Reductions     0    
Ending balance $ 1,798   $ 1,798    
Investment, Identifier [Axis]: Isagenix International, LLC, Secured Debt June 21, 2018          
Schedule of Investments [Line Items]          
Total Rate [3],[8] 9.93%   9.93%    
Spread [3],[8] 7.75%   7.75%    
PIK Rate [3],[8] 9.93%   9.93%    
Investment, Identifier [Axis]: Isagenix International, LLC, Secured Debt June 21,2018          
Schedule of Investments [Line Items]          
Total Rate [5],[6]         6.75%
Spread [5],[6]         5.75%
Investment, Identifier [Axis]: J&J Services, Inc., Preferred Stock | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       2,720  
Amount of Interest, Fees or Dividends Credited to Income       0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       12,680  
Gross Additions       2,720  
Gross Reductions       0  
Ending balance   $ 15,400   $ 15,400  
Investment, Identifier [Axis]: J&J Services, Inc., Secured Debt | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate   11.50%   11.50%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       (30)  
Amount of Interest, Fees or Dividends Credited to Income       1,084  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       12,800  
Gross Additions       30  
Gross Reductions       2,030  
Ending balance   $ 10,800   10,800  
Investment, Identifier [Axis]: JTI Electrical & Mechanical, LLC, Secured Debt December 22,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         7.00%
Spread [6],[7]         6.00%
Investment, Identifier [Axis]: JTI Electrical & Mechanical, LLC, Secured Debt One December 22, 2021          
Schedule of Investments [Line Items]          
Spread [1],[3],[4] 6.00%   6.00%    
Investment, Identifier [Axis]: JTI Electrical & Mechanical, LLC, Secured Debt Two December 22, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 8.26%   8.26%    
Spread [1],[3] 6.00%   6.00%    
Investment, Identifier [Axis]: Jackmont Hospitality, Inc., Secured Debt May 26,2015          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         8.00%
Spread [6],[7]         7.00%
Investment, Identifier [Axis]: Jackmont Hospitality, Inc., Secured Debt November 08, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 8.75%   8.75%    
Spread [1],[3] 6.50%   6.50%    
Investment, Identifier [Axis]: Jensen Jewelers of Idaho, LLC, Member Units | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     2,550 3,640  
Amount of Interest, Fees or Dividends Credited to Income     1,996 1,264  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     12,420 7,620  
Gross Additions     2,550 3,640  
Gross Reductions     0 0  
Ending balance $ 14,970 $ 11,260 $ 14,970 $ 11,260  
Investment, Identifier [Axis]: Jensen Jewelers of Idaho, LLC, Secured Debt | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 12.25% 10.00% 12.25% 10.00%  
Spread 6.75% 6.75% 6.75% 6.75%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     (6) (10)  
Amount of Interest, Fees or Dividends Credited to Income     207 244  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     2,550 3,400  
Gross Additions     6 10  
Gross Reductions     106 660  
Ending balance $ 2,450 $ 2,750 $ 2,450 2,750  
Investment, Identifier [Axis]: Jensen Jewelers of Idaho, LLC, Secured Debt November 14, 2006          
Schedule of Investments [Line Items]          
Total Rate [3] 12.25%   12.25%    
Spread [3] 6.75%   6.75%    
Investment, Identifier [Axis]: Jensen Jewelers of Idaho, LLC, Secured Debt November 14,2006          
Schedule of Investments [Line Items]          
Total Rate [6]         10.00%
Spread [6]         6.75%
Investment, Identifier [Axis]: Joerns Healthcare, LLC, Secured Debt August 21,2019          
Schedule of Investments [Line Items]          
Total Rate [5],[6]         7.00%
Spread [5],[6]         6.00%
Investment, Identifier [Axis]: Joerns Healthcare, LLC, Secured Debt November 15,2021          
Schedule of Investments [Line Items]          
Total Rate [5]         15.00%
PIK Rate [5]         15.00%
Investment, Identifier [Axis]: Joerns Healthcare, LLC, Secured Debt One November 15, 2021          
Schedule of Investments [Line Items]          
Total Rate [8] 15.00%   15.00%    
Spread [8] 15.00%   15.00%    
PIK Rate [8] 15.00%   15.00%    
Investment, Identifier [Axis]: Joerns Healthcare, LLC, Secured Debt Two August 21, 2019          
Schedule of Investments [Line Items]          
Total Rate [8],[10] 19.75%   19.75%    
PIK Rate [8],[10] 19.75%   19.75%    
Investment, Identifier [Axis]: Johnson Downie Opco, LLC, Preferred Equity | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     2,730    
Amount of Interest, Fees or Dividends Credited to Income     808    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     3,150    
Gross Additions     2,730    
Gross Reductions     0    
Ending balance $ 5,880   $ 5,880    
Investment, Identifier [Axis]: Johnson Downie Opco, LLC, Secured Debt December 10,2021          
Schedule of Investments [Line Items]          
Total Rate [6]         13.00%
Spread [6]         11.50%
Investment, Identifier [Axis]: Johnson Downie Opco, LLC, Secured Debt One | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 14.13%   14.13%    
Spread 11.50%   11.50%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     10    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     (18)    
Gross Additions     3    
Gross Reductions     0    
Ending balance $ (15)   $ (15)    
Investment, Identifier [Axis]: Johnson Downie Opco, LLC, Secured Debt One December 10, 2021          
Schedule of Investments [Line Items]          
Spread [3],[4] 11.50%   11.50%    
Investment, Identifier [Axis]: Johnson Downie Opco, LLC, Secured Debt Two | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 14.13%   14.13%    
Spread 11.50%   11.50%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     84    
Amount of Interest, Fees or Dividends Credited to Income     1,109    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     11,362    
Gross Additions     114    
Gross Reductions     1,477    
Ending balance $ 9,999   $ 9,999    
Investment, Identifier [Axis]: Johnson Downie Opco, LLC, Secured Debt Two December 10, 2021          
Schedule of Investments [Line Items]          
Total Rate [3] 14.13%   14.13%    
Spread [3] 11.50%   11.50%    
Investment, Identifier [Axis]: JorVet Holdings, LLC, Common Stock | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     468    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     10,741    
Gross Reductions     0    
Ending balance $ 10,741   $ 10,741    
Investment, Identifier [Axis]: JorVet Holdings, LLC, Secured Debt | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 12.00%   12.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     1,881    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     25,419    
Gross Reductions     0    
Ending balance $ 25,419   $ 25,419    
Investment, Identifier [Axis]: JorVet Holdings, LLC, Secured Debt March 28, 2022          
Schedule of Investments [Line Items]          
Total Rate 12.00%   12.00%    
Investment, Identifier [Axis]: KBK Industries, LLC, Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     770 420  
Amount of Interest, Fees or Dividends Credited to Income     1,007 456  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     13,620 13,200  
Gross Additions     770 420  
Gross Reductions     0 0  
Ending balance $ 14,390 13,620 $ 14,390 13,620  
Investment, Identifier [Axis]: KMS, LLC, Secured Debt October 04,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         8.25%
Spread [6],[7]         7.25%
Investment, Identifier [Axis]: KMS, LLC, Secured Debt One October 04, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 9.56%   9.56%    
Spread [1],[3] 7.25%   7.25%    
Investment, Identifier [Axis]: KMS, LLC, Secured Debt Two October 04, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 9.56%   9.56%    
Spread [1],[3] 7.25%   7.25%    
Investment, Identifier [Axis]: Kickhaefer Manufacturing Company, LLC, Member Units One | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       50  
Amount of Interest, Fees or Dividends Credited to Income       75  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       1,160  
Gross Additions       50  
Gross Reductions       0  
Ending balance   1,210   1,210  
Investment, Identifier [Axis]: Kickhaefer Manufacturing Company, LLC, Member Units Two | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       12,240  
Gross Additions       0  
Gross Reductions       0  
Ending balance   $ 12,240   $ 12,240  
Investment, Identifier [Axis]: Kickhaefer Manufacturing Company, LLC, Secured Debt One | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 11.50% 11.50% 11.50% 11.50%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     0 0  
Amount of Interest, Fees or Dividends Credited to Income     1,818 1,915  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     20,324 22,269  
Gross Additions     37 44  
Gross Reductions     0 2,000  
Ending balance $ 20,361 $ 20,313 $ 20,361 $ 20,313  
Investment, Identifier [Axis]: Kickhaefer Manufacturing Company, LLC, Secured Debt One October 31, 2018          
Schedule of Investments [Line Items]          
Total Rate 11.50%   11.50%    
Investment, Identifier [Axis]: Kickhaefer Manufacturing Company, LLC, Secured Debt One October 31,2018          
Schedule of Investments [Line Items]          
Total Rate         11.50%
Investment, Identifier [Axis]: Kickhaefer Manufacturing Company, LLC, Secured Debt Two | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 9.00% 9.00% 9.00% 9.00%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     0 0  
Amount of Interest, Fees or Dividends Credited to Income     265 266  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     3,876 3,909  
Gross Additions     1 0  
Gross Reductions     26 24  
Ending balance $ 3,851 $ 3,885 $ 3,851 3,885  
Investment, Identifier [Axis]: Kickhaefer Manufacturing Company, LLC, Secured Debt Two October 31, 2018          
Schedule of Investments [Line Items]          
Total Rate 9.00%   9.00%    
Investment, Identifier [Axis]: Kickhaefer Manufacturing Company, LLC, Secured Debt Two October 31,2018          
Schedule of Investments [Line Items]          
Total Rate         9.00%
Investment, Identifier [Axis]: Kickhaefer Manufacturing Company, LLC,, Member Units One | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     (3,060)    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     12,310    
Gross Additions     0    
Gross Reductions     3,060    
Ending balance $ 9,250   9,250    
Investment, Identifier [Axis]: Kickhaefer Manufacturing Company, LLC,, Member Units Two | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     84    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     2,460    
Gross Additions     0    
Gross Reductions     0    
Ending balance $ 2,460   $ 2,460    
Investment, Identifier [Axis]: Klein Hersh, LLC, Secured Debt November 13,2020          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         7.75%
Spread [6],[7]         7.00%
Investment, Identifier [Axis]: Kore Wireless Group Inc., Secured Debt December 11, 2022          
Schedule of Investments [Line Items]          
Total Rate [8],[25] 9.17%   9.17%    
Spread [8],[25] 5.50%   5.50%    
Investment, Identifier [Axis]: Kore Wireless Group Inc., Secured Debt December 31,2018          
Schedule of Investments [Line Items]          
Total Rate [5],[27]         5.72%
Spread [5],[27]         5.50%
Investment, Identifier [Axis]: L.F. Manufacturing Holdings, LLC, Member Units | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       50  
Amount of Interest, Fees or Dividends Credited to Income       0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       2,050  
Gross Additions       50  
Gross Reductions       0  
Ending balance   $ 2,100   $ 2,100  
Investment, Identifier [Axis]: L.F. Manufacturing Holdings, LLC, Preferred Member Units (non-voting) | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate   14.00%   14.00%  
PIK Rate   14.00%   14.00%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     0 0  
Amount of Interest, Fees or Dividends Credited to Income     9 10  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     107 93  
Gross Additions     10 10  
Gross Reductions     117 0  
Ending balance $ 0 $ 103 $ 0 103  
Investment, Identifier [Axis]: L.F. Manufacturing Holdings, LLC, Preferred Member Units (non-voting) January 01,2019          
Schedule of Investments [Line Items]          
Total Rate [7],[14]         14.00%
PIK Rate [7],[14]         14.00%
Investment, Identifier [Axis]: LL Management, Inc., Secured Debt May 02,2019          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         8.25%
Spread [6],[7]         7.25%
Investment, Identifier [Axis]: LL Management, Inc., Secured Debt One May 02, 2019          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 10.20%   10.20%    
Spread [1],[2],[3] 7.25%   7.25%    
Investment, Identifier [Axis]: LL Management, Inc., Secured Debt Three May 12, 2019          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 9.13%   9.13%    
Spread [1],[2],[3] 7.25%   7.25%    
Investment, Identifier [Axis]: LL Management, Inc., Secured Debt Two May 02, 2019          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 9.81%   9.81%    
Spread [1],[2],[3] 7.25%   7.25%    
Investment, Identifier [Axis]: LLFlex, LLC, Secured Debt August 16, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 11.28%   11.28%    
Spread [1],[3] 9.00%   9.00%    
Investment, Identifier [Axis]: LLFlex, LLC, Secured Debt August 16,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         10.00%
Spread [6],[7]         9.00%
Investment, Identifier [Axis]: LaserAway Intermediate Holdings II, LLC, Secured Debt October 18,2021          
Schedule of Investments [Line Items]          
Total Rate [5],[6]         6.50%
Spread [5],[6]         5.75%
Investment, Identifier [Axis]: Lightbox Holdings, L.P., Secured Debt May 09, 2019          
Schedule of Investments [Line Items]          
Total Rate [8] 7.96%   7.96%    
Spread [8] 5.00%   5.00%    
Investment, Identifier [Axis]: Lightbox Holdings, L.P., Secured Debt May 23, 2019          
Schedule of Investments [Line Items]          
Total Rate [5]         5.22%
Spread [5]         5.00%
Investment, Identifier [Axis]: Logix Acquisition Company, LLC, Secured Debt January 08, 2018          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 8.87%   8.87%    
Spread [1],[3] 5.75%   5.75%    
Investment, Identifier [Axis]: Logix Acquisition Company, LLC, Secured Debt January 08,2018          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         6.75%
Spread [6],[7]         5.75%
Investment, Identifier [Axis]: MB2 Dental Solutions, LLC, Secured Debt January 28,2021          
Schedule of Investments [Line Items]          
Total Rate [5],[6]         7.00%
Spread [5],[6]         6.00%
Investment, Identifier [Axis]: MB2 Dental Solutions, LLC, Secured Debt One January 28,2021          
Schedule of Investments [Line Items]          
Total Rate [2],[3],[8],[31] 9.08%   9.08%    
Spread [2],[3],[8],[31] 6.00%   6.00%    
Investment, Identifier [Axis]: MB2 Dental Solutions, LLC, Secured Debt Two January 28,2021          
Schedule of Investments [Line Items]          
Total Rate [2],[3],[8] 9.70%   9.70%    
Spread [2],[3],[8] 6.00%   6.00%    
Investment, Identifier [Axis]: MH Corbin Holding LLC, Preferred Member Units | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       (2,370)  
Amount of Interest, Fees or Dividends Credited to Income       0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       2,370  
Gross Additions       0  
Gross Reductions       2,370  
Ending balance   $ 0   $ 0  
Investment, Identifier [Axis]: MH Corbin Holding LLC, Preferred Member Units One | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     0    
Gross Reductions     0    
Ending balance $ 0   0    
Investment, Identifier [Axis]: MH Corbin Holding LLC, Preferred Member Units Two | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     0    
Gross Reductions     0    
Ending balance $ 0   $ 0    
Investment, Identifier [Axis]: MH Corbin Holding LLC, Secured Debt | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 13.00% 13.00% 13.00% 13.00%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     (1,220) (2,059)  
Amount of Interest, Fees or Dividends Credited to Income     795 854  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     5,934 8,280  
Gross Additions     9 25  
Gross Reductions     3,234 2,299  
Ending balance $ 2,709 $ 6,006 $ 2,709 6,006  
Investment, Identifier [Axis]: MH Corbin Holding LLC, Secured Debt August 31,2015          
Schedule of Investments [Line Items]          
Total Rate         13.00%
Investment, Identifier [Axis]: MH Corbin Holding LLC, Secured Debt August 31, 2015          
Schedule of Investments [Line Items]          
Total Rate 13.00%   13.00%    
Investment, Identifier [Axis]: MS Private Loan Fund I, LP, Unsecured Debt February 11,2021          
Schedule of Investments [Line Items]          
Total Rate [27],[32]         5.00%
Investment, Identifier [Axis]: MS Private Loan Fund, LP Interests | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     20 0  
Amount of Interest, Fees or Dividends Credited to Income     437 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     2,581 0  
Gross Additions     11,770 1,000  
Gross Reductions     0 0  
Ending balance $ 14,351 $ 1,000 14,351 $ 1,000  
Investment, Identifier [Axis]: MS Private Loan Fund, Unsecured Debt | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate   5.00%   5.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       642  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       0  
Gross Additions       33,866  
Gross Reductions       3,575  
Ending balance   $ 30,291   30,291  
Investment, Identifier [Axis]: MSC Adviser I, LLC, Member Units | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0 0  
Amount of Unrealized Gain/(Loss)     (27,910) 11,320  
Amount of Interest, Fees or Dividends Credited to Income     5,620 3,908  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     140,400 116,760  
Gross Additions     0 11,320  
Gross Reductions     27,910 0  
Ending balance 112,490 $ 128,080 112,490 $ 128,080  
Investment, Identifier [Axis]: MSC Income Fund Inc., Unsecured Debt | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate   5.00%   5.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       352  
Amount of Interest, Fees or Dividends Credited to Income       1,603  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       0  
Gross Additions       60,000  
Gross Reductions       0  
Ending balance   $ 60,000   $ 60,000  
Investment, Identifier [Axis]: MSC Income Fund, Inc., Common Equity | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0    
Amount of Unrealized Gain/(Loss)     11    
Amount of Interest, Fees or Dividends Credited to Income     15    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     761    
Gross Reductions     0    
Ending balance $ 761   $ 761    
Investment, Identifier [Axis]: Mac Lean-Fogg Company, Preferred Stock October 01, 2019          
Schedule of Investments [Line Items]          
Total Rate [1] 13.75%   13.75%    
PIK Rate [1] 9.25%   9.25%    
Investment, Identifier [Axis]: Mac Lean-Fogg Company, Preferred Stock October 01,2019          
Schedule of Investments [Line Items]          
Total Rate [7]         13.75%
PIK Rate [7]         9.25%
Investment, Identifier [Axis]: Mac Lean-Fogg Company, Secured Debt April 22,2019          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         5.88%
Spread [6],[7]         5.25%
Investment, Identifier [Axis]: Mac Lean-Fogg Company, Secured Debt One April 22, 2019          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 7.87%   7.87%    
Spread [1],[3] 4.75%   4.75%    
Investment, Identifier [Axis]: Mac Lean-Fogg Company, Secured Debt Two April 22, 2019          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 7.87%   7.87%    
Spread [1],[3] 4.75%   4.75%    
Investment, Identifier [Axis]: Mako Steel, LP, Secured Debt March 15,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         8.00%
Spread [6],[7]         7.25%
Investment, Identifier [Axis]: Mako Steel, LP, Secured Debt One March 15, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 10.42%   10.42%    
Spread [1],[3] 7.25%   7.25%    
Investment, Identifier [Axis]: Mako Steel, LP, Secured Debt Two March 15, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 11.09%   11.09%    
Spread [1],[3] 7.25%   7.25%    
Investment, Identifier [Axis]: Market Force Information, LLC, Member Units | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     0    
Gross Reductions     0    
Ending balance $ 0   $ 0    
Investment, Identifier [Axis]: Market Force Information, LLC, Secured Debt One | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 13.38% 12.00% 13.38% 12.00%  
Spread 11.00% 11.00% 11.00% 11.00%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     0 0  
Amount of Interest, Fees or Dividends Credited to Income     374 282  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     3,400 1,600  
Gross Additions     1,600 1,800  
Gross Reductions     0 0  
Ending balance $ 5,000 $ 3,400 $ 5,000 $ 3,400  
Investment, Identifier [Axis]: Market Force Information, LLC, Secured Debt One July 28, 2017          
Schedule of Investments [Line Items]          
Total Rate [3] 13.38%   13.38%    
Spread [3] 11.00%   11.00%    
Investment, Identifier [Axis]: Market Force Information, LLC, Secured Debt One July 28,2017          
Schedule of Investments [Line Items]          
Total Rate [6]         12.00%
Spread [6]         11.00%
Investment, Identifier [Axis]: Market Force Information, LLC, Secured Debt Two | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 12.00% 12.00% 12.00% 12.00%  
PIK Rate 12.00% 12.00% 12.00% 12.00%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     (6,065) (2,403)  
Amount of Interest, Fees or Dividends Credited to Income     0 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     8,936 13,562  
Gross Additions     0 0  
Gross Reductions     6,065 2,403  
Ending balance $ 2,871 $ 11,159 $ 2,871 11,159  
Investment, Identifier [Axis]: Market Force Information, LLC, Secured Debt Two July 28, 2017          
Schedule of Investments [Line Items]          
Total Rate [10] 12.00%   12.00%    
PIK Rate [10] 12.00%   12.00%    
Investment, Identifier [Axis]: Market Force Information, LLC, Secured Debt Two July 28,2017          
Schedule of Investments [Line Items]          
Total Rate [11]         12.00%
PIK Rate [11]         12.00%
Investment, Identifier [Axis]: Meisler Operating LLC, Common Stock | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       17,048  
Amount of Unrealized Gain/(Loss)       (7,414)  
Amount of Interest, Fees or Dividends Credited to Income       0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       16,010  
Gross Additions       0  
Gross Reductions       16,010  
Ending balance   0   0  
Investment, Identifier [Axis]: Microbe Formulas, LLC, Secured Debt One April 04, 2022          
Schedule of Investments [Line Items]          
Spread [1],[2],[3],[4] 6.25%   6.25%    
Investment, Identifier [Axis]: Microbe Formulas, LLC, Secured Debt Two April 04, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 8.36%   8.36%    
Spread [1],[2],[3] 6.25%   6.25%    
Investment, Identifier [Axis]: Mills Fleet Farm Group, LLC, Secured Debt October 24, 2018          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 9.06%   9.06%    
Spread [1],[3] 6.25%   6.25%    
Investment, Identifier [Axis]: Mills Fleet Farm Group, LLC, Secured Debt October 24,2018          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         7.25%
Spread [6],[7]         6.25%
Investment, Identifier [Axis]: MonitorUS Holding, LLC, Secured Debt One May 24, 2022          
Schedule of Investments [Line Items]          
Spread [1],[3],[4],[25],[26] 7.00%   7.00%    
Investment, Identifier [Axis]: MonitorUS Holding, LLC, Secured Debt Three May 24, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[3],[25],[26] 8.51%   8.51%    
Spread [1],[3],[25],[26] 7.00%   7.00%    
Investment, Identifier [Axis]: MonitorUS Holding, LLC, Secured Debt Two May 24, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[3],[25],[26] 9.43%   9.43%    
Spread [1],[3],[25],[26] 7.00%   7.00%    
Investment, Identifier [Axis]: Mystic Logistics Holdings, LLC, Common Stock | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     11,860 (1,820)  
Amount of Interest, Fees or Dividends Credited to Income     2,860 548  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     8,840 8,990  
Gross Additions     11,860 0  
Gross Reductions     0 1,820  
Ending balance $ 20,700 $ 7,170 $ 20,700 $ 7,170  
Investment, Identifier [Axis]: Mystic Logistics Holdings, LLC, Secured Debt | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate   12.00%   12.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       622  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       6,723  
Gross Additions       7  
Gross Reductions       24  
Ending balance   $ 6,706   6,706  
Investment, Identifier [Axis]: Mystic Logistics Holdings, LLC, Secured Debt August 18,2014          
Schedule of Investments [Line Items]          
Total Rate         12.00%
Investment, Identifier [Axis]: Mystic Logistics Holdings, LLC, Secured Debt One | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 10.00%   10.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     3    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     0    
Gross Reductions     0    
Ending balance $ 0   $ 0    
Investment, Identifier [Axis]: Mystic Logistics Holdings, LLC, Secured Debt Two | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 10.00%   10.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     (1)    
Amount of Interest, Fees or Dividends Credited to Income     460    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     6,378    
Gross Additions     1    
Gross Reductions     633    
Ending balance $ 5,746   $ 5,746    
Investment, Identifier [Axis]: Mystic Logistics Holdings, LLC, Secured Debt Two August 18, 2014          
Schedule of Investments [Line Items]          
Total Rate 10.00%   10.00%    
Investment, Identifier [Axis]: NAPCO Precast, LLC, Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     (2,380) (2,540)  
Amount of Interest, Fees or Dividends Credited to Income     4 1,823  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     13,560 16,100  
Gross Additions     0 0  
Gross Reductions     2,380 2,540  
Ending balance $ 11,180 13,560 $ 11,180 13,560  
Investment, Identifier [Axis]: NBG Acquisition Inc, Secured Debt April 28, 2017          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 9.67%   9.67%    
Spread [1],[3] 5.50%   5.50%    
Investment, Identifier [Axis]: NBG Acquisition Inc, Secured Debt April 28,2017          
Schedule of Investments [Line Items]          
Total Rate [5],[6]         6.50%
Spread [5],[6]         5.50%
Investment, Identifier [Axis]: NNE Partners, LLC, Secured Debt March 02, 2017          
Schedule of Investments [Line Items]          
Total Rate [1] 10.86%   10.86%    
Spread [1] 9.25%   9.25%    
Investment, Identifier [Axis]: NNE Partners, LLC, Secured Debt March 02,2017          
Schedule of Investments [Line Items]          
Total Rate [7]         9.37%
Spread [7]         4.75%
PIK Rate [7]         4.50%
Investment, Identifier [Axis]: NRI Clinical Research, LLC, Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       8,786  
Amount of Unrealized Gain/(Loss)       (4,835)  
Amount of Interest, Fees or Dividends Credited to Income       2,805  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       5,600  
Gross Additions       0  
Gross Reductions       5,600  
Ending balance   $ 0   $ 0  
Investment, Identifier [Axis]: NRI Clinical Research, LLC, Secured Debt | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate   9.00%   9.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       (48)  
Amount of Interest, Fees or Dividends Credited to Income       380  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       5,620  
Gross Additions       48  
Gross Reductions       5,668  
Ending balance   $ 0   0  
Investment, Identifier [Axis]: NRI Clinical Research, LLC, Warrants | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       (1,238)  
Amount of Interest, Fees or Dividends Credited to Income       0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       1,490  
Gross Additions       0  
Gross Reductions       1,490  
Ending balance   0   0  
Investment, Identifier [Axis]: NRP Jones, LLC, Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       3,619  
Amount of Interest, Fees or Dividends Credited to Income       (45)  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       2,821  
Gross Additions       3,619  
Gross Reductions       0  
Ending balance   $ 6,440   $ 6,440  
Investment, Identifier [Axis]: NRP Jones, LLC, Member Units One | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     (1,585)    
Amount of Interest, Fees or Dividends Credited to Income     449    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     6,200    
Gross Additions     0    
Gross Reductions     1,585    
Ending balance $ 4,615   4,615    
Investment, Identifier [Axis]: NRP Jones, LLC, Member Units Two | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0    
Amount of Unrealized Gain/(Loss)     (65)    
Amount of Interest, Fees or Dividends Credited to Income     13    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     240    
Gross Additions     0    
Gross Reductions     65    
Ending balance $ 175   $ 175    
Investment, Identifier [Axis]: NRP Jones, LLC, Secured Debt | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 12.00% 12.00% 12.00% 12.00%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     0 0  
Amount of Interest, Fees or Dividends Credited to Income     189 189  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     2,080 2,080  
Gross Additions     0 0  
Gross Reductions     0 0  
Ending balance $ 2,080 $ 2,080 $ 2,080 2,080  
Investment, Identifier [Axis]: NRP Jones, LLC, Secured Debt December 21, 2017          
Schedule of Investments [Line Items]          
Total Rate 12.00%   12.00%    
Investment, Identifier [Axis]: NRP Jones, LLC, Secured Debt December 21,2017          
Schedule of Investments [Line Items]          
Total Rate         12.00%
Investment, Identifier [Axis]: NTM Acquisition Corp., Secured Debt July 12, 2016          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 9.50%   9.50%    
Spread [1],[3] 6.25%   6.25%    
PIK Rate [1],[3] 1.00%   1.00%    
Investment, Identifier [Axis]: NTM Acquisition Corp., Secured Debt July 12,2016          
Schedule of Investments [Line Items]          
Total Rate [5],[6]         8.25%
Spread [5],[6]         6.25%
PIK Rate [5],[6]         1.00%
Investment, Identifier [Axis]: NWN Corporation, Secured Debt May 07,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         7.50%
Spread [6],[7]         6.50%
Investment, Identifier [Axis]: NWN Corporation, Secured Debt One May 07, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 9.27%   9.27%    
Spread [1],[3] 6.50%   6.50%    
Investment, Identifier [Axis]: NWN Corporation, Secured Debt Two May 07, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 9.37%   9.37%    
Spread [1],[3] 6.50%   6.50%    
Investment, Identifier [Axis]: Nebraska Vet AcquireCo, LLC (NVS), Preferred Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     0 0  
Amount of Interest, Fees or Dividends Credited to Income     0 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     7,700 6,500  
Gross Additions     0 0  
Gross Reductions     0 0  
Ending balance $ 7,700 $ 6,500 $ 7,700 $ 6,500  
Investment, Identifier [Axis]: Nebraska Vet AcquireCo, LLC (NVS), Secured Debt | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate   12.00%   12.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       979  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       10,395  
Gross Additions       13  
Gross Reductions       0  
Ending balance   $ 10,408   10,408  
Investment, Identifier [Axis]: Nebraska Vet AcquireCo, LLC (NVS), Secured Debt One | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 8.71%   8.71%    
Spread 7.00%   7.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     7    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     0    
Gross Reductions     0    
Ending balance $ 0   $ 0    
Investment, Identifier [Axis]: Nebraska Vet AcquireCo, LLC (NVS), Secured Debt Three | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 12.00%   12.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     71    
Amount of Interest, Fees or Dividends Credited to Income     972    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     10,412    
Gross Additions     88    
Gross Reductions     0    
Ending balance $ 10,500   $ 10,500    
Investment, Identifier [Axis]: Nebraska Vet AcquireCo, LLC (NVS), Secured Debt Two | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 12.00%   12.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     121    
Amount of Interest, Fees or Dividends Credited to Income     1,146    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     4,829    
Gross Additions     13,452    
Gross Reductions     0    
Ending balance $ 18,281   $ 18,281    
Investment, Identifier [Axis]: Nebraska Vet AcquireCo, LLC, Secured Debt One December 31,2020          
Schedule of Investments [Line Items]          
Total Rate         12.00%
Investment, Identifier [Axis]: Nebraska Vet AcquireCo, LLC, Secured Debt Three December 31, 2020          
Schedule of Investments [Line Items]          
Total Rate 12.00%   12.00%    
Investment, Identifier [Axis]: Nebraska Vet AcquireCo, LLC, Secured Debt Two December 31, 2020          
Schedule of Investments [Line Items]          
Total Rate 12.00%   12.00%    
Investment, Identifier [Axis]: Nebraska Vet AcquireCo, LLC, Secured Debt Two December 31,2020          
Schedule of Investments [Line Items]          
Total Rate         12.00%
Investment, Identifier [Axis]: NexRev LLC, Preferred Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     (2,913) 1,810  
Amount of Interest, Fees or Dividends Credited to Income     60 60  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     2,690 1,470  
Gross Additions     1,333 1,810  
Gross Reductions     2,913 0  
Ending balance $ 1,110 $ 3,280 $ 1,110 $ 3,280  
Investment, Identifier [Axis]: NexRev LLC, Secured Debt | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate   11.00%   11.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       (1,351)  
Amount of Interest, Fees or Dividends Credited to Income       1,417  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       16,727  
Gross Additions       28  
Gross Reductions       2,005  
Ending balance   $ 14,750   14,750  
Investment, Identifier [Axis]: NexRev LLC, Secured Debt February 28,2018          
Schedule of Investments [Line Items]          
Total Rate         11.00%
Investment, Identifier [Axis]: NexRev LLC, Secured Debt One | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 11.00%   11.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     26    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     800    
Gross Additions     0    
Gross Reductions     640    
Ending balance $ 160   $ 160    
Investment, Identifier [Axis]: NexRev LLC, Secured Debt One February 28, 2018          
Schedule of Investments [Line Items]          
Total Rate 11.00%   11.00%    
Investment, Identifier [Axis]: NexRev LLC, Secured Debt Two | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 11.00%   11.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     (928)    
Amount of Interest, Fees or Dividends Credited to Income     1,560    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     13,245    
Gross Additions     0    
Gross Reductions     4,192    
Ending balance $ 9,053   $ 9,053    
Investment, Identifier [Axis]: NexRev LLC, Secured Debt Two February 28, 2018          
Schedule of Investments [Line Items]          
Total Rate 11.00%   11.00%    
Investment, Identifier [Axis]: NinjaTrader, LLC, Secured Debt December 18,2019          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         7.25%
Spread [6],[7]         6.25%
Investment, Identifier [Axis]: NinjaTrader, LLC, Secured Debt One December 18, 2019          
Schedule of Investments [Line Items]          
Spread [1],[3],[4] 6.75%   6.75%    
Investment, Identifier [Axis]: NinjaTrader, LLC, Secured Debt Three December 18, 2019          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 8.53%   8.53%    
Spread [1],[3] 6.75%   6.75%    
Investment, Identifier [Axis]: NinjaTrader, LLC, Secured Debt Two December 18, 2019          
Schedule of Investments [Line Items]          
Spread [1],[3],[4] 6.75%   6.75%    
Investment, Identifier [Axis]: Northstar Group Services, Inc, Secured Debt November 01, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 8.62%   8.62%    
Spread [1],[3] 5.50%   5.50%    
Investment, Identifier [Axis]: Northstar Group Services, Inc, Secured Debt November 01,2021          
Schedule of Investments [Line Items]          
Total Rate [5],[6]         6.50%
Spread [5],[6]         5.50%
Investment, Identifier [Axis]: NuStep, LLC, Preferred Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     (3,300) 2,720  
Amount of Interest, Fees or Dividends Credited to Income     0 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     13,500 10,780  
Gross Additions     0 2,720  
Gross Reductions     3,300 0  
Ending balance $ 10,200 $ 13,500 $ 10,200 $ 13,500  
Investment, Identifier [Axis]: NuStep, LLC, Secured Debt One | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 9.13% 10.50% 9.13% 10.50%  
Spread 6.50%   6.50%    
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     0 17  
Amount of Interest, Fees or Dividends Credited to Income     208 1,507  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     1,720 17,193  
Gross Additions     2,679 47  
Gross Reductions     0 0  
Ending balance $ 4,399 $ 17,240 $ 4,399 $ 17,240  
Investment, Identifier [Axis]: NuStep, LLC, Secured Debt One January 31, 2017          
Schedule of Investments [Line Items]          
Total Rate [3] 9.13%   9.13%    
Spread [3] 6.50%   6.50%    
Investment, Identifier [Axis]: NuStep, LLC, Secured Debt One January 31,2017          
Schedule of Investments [Line Items]          
Total Rate [6]         7.50%
Spread [6]         6.50%
Investment, Identifier [Axis]: NuStep, LLC, Secured Debt Two | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 12.00% 7.50% 12.00% 7.50%  
Spread   6.50%   6.50%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     (4) 0  
Amount of Interest, Fees or Dividends Credited to Income     1,612 25  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     17,240 0  
Gross Additions     1,175 2,000  
Gross Reductions     4 400  
Ending balance $ 18,411 $ 1,600 $ 18,411 1,600  
Investment, Identifier [Axis]: NuStep, LLC, Secured Debt Two January 31, 2017          
Schedule of Investments [Line Items]          
Total Rate 12.00%   12.00%    
Investment, Identifier [Axis]: NuStep, LLC, Secured Debt Two January 31,2017          
Schedule of Investments [Line Items]          
Total Rate         11.00%
Investment, Identifier [Axis]: OMi Holdings, Inc., Preferred Member Units | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       (170)  
Amount of Interest, Fees or Dividends Credited to Income       1,330  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       20,380  
Gross Additions       0  
Gross Reductions       170  
Ending balance   $ 20,210   $ 20,210  
Investment, Identifier [Axis]: OMi Holdings, Inc.C, Secured Debt | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate   12.00%   12.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       176  
Amount of Interest, Fees or Dividends Credited to Income       550  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       0  
Gross Additions       18,000  
Gross Reductions       0  
Ending balance   $ 18,000   18,000  
Investment, Identifier [Axis]: OMi Topco, LLC, Secured Debt | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 12.00%   12.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     (41)    
Amount of Interest, Fees or Dividends Credited to Income     1,625    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     18,000    
Gross Additions     41    
Gross Reductions     1,791    
Ending balance $ 16,250   16,250    
Investment, Identifier [Axis]: OMi Topco, LLC, Preferred Member Units | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0    
Amount of Unrealized Gain/(Loss)     470    
Amount of Interest, Fees or Dividends Credited to Income     1,676    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     20,210    
Gross Additions     470    
Gross Reductions     0    
Ending balance $ 20,680   $ 20,680    
Investment, Identifier [Axis]: OMi Topco, LLC, Secured Debt August 31, 2021          
Schedule of Investments [Line Items]          
Total Rate 12.00%   12.00%    
Investment, Identifier [Axis]: OMi Topco, LLC, Secured Debt August 31,2021          
Schedule of Investments [Line Items]          
Total Rate         12.00%
Investment, Identifier [Axis]: OVG Business Services, LLC, Secured Debt November 29, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 9.34%   9.34%    
Spread [1],[3] 6.25%   6.25%    
Investment, Identifier [Axis]: OVG Business Services, LLC, Secured Debt November 29,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         7.25%
Spread [6],[7]         6.25%
Investment, Identifier [Axis]: OnAsset Intelligence, Inc., Common Stock | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     0 (830)  
Amount of Interest, Fees or Dividends Credited to Income     0 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0 0  
Gross Additions     0 830  
Gross Reductions     0 830  
Ending balance $ 0 $ 0 $ 0 $ 0  
Investment, Identifier [Axis]: OnAsset Intelligence, Inc., Preferred Stock | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 7.00%   7.00%    
PIK Rate 7.00%   7.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     0    
Gross Reductions     0    
Ending balance $ 0   $ 0    
Investment, Identifier [Axis]: OnAsset Intelligence, Inc., Preferred Stock April 18, 2011          
Schedule of Investments [Line Items]          
Total Rate [10] 7.00%   7.00%    
PIK Rate [10] 7.00%   7.00%    
Investment, Identifier [Axis]: OnAsset Intelligence, Inc., Preferred Stock April 18,2011          
Schedule of Investments [Line Items]          
Total Rate         7.00%
PIK Rate         7.00%
Investment, Identifier [Axis]: OnAsset Intelligence, Inc., Secured Debt | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate   12.00%   12.00%  
PIK Rate   12.00%   12.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       685  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       7,301  
Gross Additions       686  
Gross Reductions       0  
Ending balance   $ 7,987   $ 7,987  
Investment, Identifier [Axis]: OnAsset Intelligence, Inc., Secured Debt April 18, 2011          
Schedule of Investments [Line Items]          
Total Rate [10] 12.00%   12.00%    
PIK Rate [10] 12.00%   12.00%    
Investment, Identifier [Axis]: OnAsset Intelligence, Inc., Secured Debt April 18,2011          
Schedule of Investments [Line Items]          
Total Rate         12.00%
PIK Rate         12.00%
Investment, Identifier [Axis]: OnAsset Intelligence, Inc., Secured Debt Four | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 12.00%   12.00%    
PIK Rate 12.00%   12.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     (1,255)    
Amount of Interest, Fees or Dividends Credited to Income     129    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     4,285    
Gross Additions     130    
Gross Reductions     1,255    
Ending balance $ 3,160   $ 3,160    
Investment, Identifier [Axis]: OnAsset Intelligence, Inc., Secured Debt March 21, 2014          
Schedule of Investments [Line Items]          
Total Rate [10] 12.00%   12.00%    
PIK Rate [10] 12.00%   12.00%    
Investment, Identifier [Axis]: OnAsset Intelligence, Inc., Secured Debt March 21,2014          
Schedule of Investments [Line Items]          
Total Rate         12.00%
PIK Rate         12.00%
Investment, Identifier [Axis]: OnAsset Intelligence, Inc., Secured Debt May 10, 2013          
Schedule of Investments [Line Items]          
Total Rate [10] 12.00%   12.00%    
PIK Rate [10] 12.00%   12.00%    
Investment, Identifier [Axis]: OnAsset Intelligence, Inc., Secured Debt May 10,2013          
Schedule of Investments [Line Items]          
Total Rate         12.00%
PIK Rate         12.00%
Investment, Identifier [Axis]: OnAsset Intelligence, Inc., Secured Debt May 20, 2014          
Schedule of Investments [Line Items]          
Total Rate [10] 12.00%   12.00%    
PIK Rate [10] 12.00%   12.00%    
Investment, Identifier [Axis]: OnAsset Intelligence, Inc., Secured Debt May 20,2014          
Schedule of Investments [Line Items]          
Total Rate         12.00%
PIK Rate         12.00%
Investment, Identifier [Axis]: OnAsset Intelligence, Inc., Secured Debt One | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 12.00%   12.00%    
PIK Rate 12.00%   12.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     (273)    
Amount of Interest, Fees or Dividends Credited to Income     28    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     935    
Gross Additions     28    
Gross Reductions     273    
Ending balance $ 690   $ 690    
Investment, Identifier [Axis]: OnAsset Intelligence, Inc., Secured Debt Three | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 12.00%   12.00%    
PIK Rate 12.00%   12.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     (602)    
Amount of Interest, Fees or Dividends Credited to Income     62    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     2,055    
Gross Additions     62    
Gross Reductions     602    
Ending balance $ 1,515   $ 1,515    
Investment, Identifier [Axis]: OnAsset Intelligence, Inc., Secured Debt Two | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 12.00%   12.00%    
PIK Rate 12.00%   12.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     (280)    
Amount of Interest, Fees or Dividends Credited to Income     29    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     954    
Gross Additions     29    
Gross Reductions     280    
Ending balance $ 703   $ 703    
Investment, Identifier [Axis]: OnAsset Intelligence, Inc., Unsecured Debt | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 10.00% 10.00% 10.00% 10.00%  
PIK Rate 10.00% 10.00% 10.00% 10.00%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     0 0  
Amount of Interest, Fees or Dividends Credited to Income     5 6  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     192 64  
Gross Additions     5 129  
Gross Reductions     0 6  
Ending balance $ 197 $ 187 $ 197 187  
Investment, Identifier [Axis]: OnAsset Intelligence, Inc., Unsecured Debt June 05, 2017          
Schedule of Investments [Line Items]          
Total Rate [10] 10.00%   10.00%    
PIK Rate [10] 10.00%   10.00%    
Investment, Identifier [Axis]: OnAsset Intelligence, Inc., Unsecured Debt June 05,2017          
Schedule of Investments [Line Items]          
Total Rate         10.00%
PIK Rate         10.00%
Investment, Identifier [Axis]: OnAsset Intelligence, Inc., Warrants | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     0 830  
Amount of Interest, Fees or Dividends Credited to Income     0 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0 0  
Gross Additions     0 830  
Gross Reductions     0 830  
Ending balance $ 0 0 0 0  
Investment, Identifier [Axis]: Oneliance, LLC, Preferred Stock | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0 0  
Amount of Unrealized Gain/(Loss)     0 0  
Amount of Interest, Fees or Dividends Credited to Income     0 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     1,056 0  
Gross Additions     0 1,056  
Gross Reductions     0 0  
Ending balance $ 1,056 $ 1,056 $ 1,056 $ 1,056  
Investment, Identifier [Axis]: Oneliance, LLC, Secured Debt | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate   12.00%   12.00%  
Spread   11.00%   11.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       162  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       0  
Gross Additions       5,545  
Gross Reductions       0  
Ending balance   $ 5,545   5,545  
Investment, Identifier [Axis]: Oneliance, LLC, Secured Debt August 06,2021          
Schedule of Investments [Line Items]          
Total Rate [6]         12.00%
Spread [6]         11.00%
Investment, Identifier [Axis]: Oneliance, LLC, Secured Debt One | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 13.56%   13.56%    
Spread 11.00%   11.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     0    
Gross Reductions     0    
Ending balance $ 0   $ 0    
Investment, Identifier [Axis]: Oneliance, LLC, Secured Debt One August 06, 2021          
Schedule of Investments [Line Items]          
PIK Rate [3],[4] 11.00%   11.00%    
Investment, Identifier [Axis]: Oneliance, LLC, Secured Debt Two | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 13.56%   13.56%    
Spread 11.00%   11.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     536    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     5,547    
Gross Additions     9    
Gross Reductions     0    
Ending balance $ 5,556   $ 5,556    
Investment, Identifier [Axis]: Oneliance, LLC, Secured Debt Two August 06, 2021          
Schedule of Investments [Line Items]          
Total Rate [3] 13.56%   13.56%    
PIK Rate [3] 11.00%   11.00%    
Investment, Identifier [Axis]: Orttech Holdings, LLC, Preferred Stock | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     0 0  
Amount of Interest, Fees or Dividends Credited to Income     579 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     10,000 0  
Gross Additions     0 12,600  
Gross Reductions     0 1,000  
Ending balance $ 10,000 $ 11,600 $ 10,000 $ 11,600  
Investment, Identifier [Axis]: Orttech Holdings, LLC, Secured Debt | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate   12.00%   12.00%  
Spread   11.00%   11.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       767  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       0  
Gross Additions       24,183  
Gross Reductions       0  
Ending balance   $ 24,183   24,183  
Investment, Identifier [Axis]: Orttech Holdings, LLC, Secured Debt July 30,2021          
Schedule of Investments [Line Items]          
Total Rate [6]         12.00%
Spread [6]         11.00%
Investment, Identifier [Axis]: Orttech Holdings, LLC, Secured Debt One | Other controlled investments          
Schedule of Investments [Line Items]          
Spread 11.00%   11.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     16    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     175    
Gross Additions     0    
Gross Reductions     175    
Ending balance $ 0   $ 0    
Investment, Identifier [Axis]: Orttech Holdings, LLC, Secured Debt One July 30, 2021          
Schedule of Investments [Line Items]          
Spread [3],[4] 11.00%   11.00%    
Investment, Identifier [Axis]: Orttech Holdings, LLC, Secured Debt Two | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 13.63%   13.63%    
Spread 11.00%   11.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     2,305    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     23,976    
Gross Additions     41    
Gross Reductions     600    
Ending balance $ 23,417   $ 23,417    
Investment, Identifier [Axis]: Orttech Holdings, LLC, Secured Debt Two July 30, 2021          
Schedule of Investments [Line Items]          
Total Rate [3] 13.63%   13.63%    
Spread [3] 11.00%   11.00%    
Investment, Identifier [Axis]: Ospemifene Royalty Sub LLC, Secured Debt July 08, 2013          
Schedule of Investments [Line Items]          
Total Rate [1],[10] 11.50%   11.50%    
Investment, Identifier [Axis]: Ospemifene Royalty Sub LLC, Secured Debt July 08,2013          
Schedule of Investments [Line Items]          
Total Rate [7],[9]         11.50%
Investment, Identifier [Axis]: Other | Control investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     0    
Gross Reductions     0    
Ending balance $ 0   0    
Investment, Identifier [Axis]: Other | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0 0  
Amount of Unrealized Gain/(Loss)     0 0  
Amount of Interest, Fees or Dividends Credited to Income     0 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0 0  
Gross Additions     0 0  
Gross Reductions     0 0  
Ending balance 0 0 0 0  
Investment, Identifier [Axis]: PCI Holding Company, Inc., Preferred Stock | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       (203)  
Amount of Interest, Fees or Dividends Credited to Income       2,852  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       4,130  
Gross Additions       0  
Gross Reductions       4,130  
Ending balance   0   0  
Investment, Identifier [Axis]: PPL RVs, Inc., Common Stock | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       2,190  
Amount of Interest, Fees or Dividends Credited to Income       805  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       11,500  
Gross Additions       2,190  
Gross Reductions       0  
Ending balance   $ 13,690   $ 13,690  
Investment, Identifier [Axis]: PPL RVs, Inc., Common Stock One | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0    
Amount of Unrealized Gain/(Loss)     5,150    
Amount of Interest, Fees or Dividends Credited to Income     908    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     14,360    
Gross Additions     5,150    
Gross Reductions     0    
Ending balance 19,510   19,510    
Investment, Identifier [Axis]: PPL RVs, Inc., Common Stock Two | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     157    
Gross Reductions     0    
Ending balance $ 157   $ 157    
Investment, Identifier [Axis]: PPL RVs, Inc., Secured Debt | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate   7.50%   7.50%  
Spread   7.00%   7.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       (21)  
Amount of Interest, Fees or Dividends Credited to Income       708  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       11,806  
Gross Additions       790  
Gross Reductions       221  
Ending balance   $ 12,375   12,375  
Investment, Identifier [Axis]: PPL RVs, Inc., Secured Debt November 15,2016          
Schedule of Investments [Line Items]          
Total Rate [6]         7.50%
Spread [6]         7.00%
Investment, Identifier [Axis]: PPL RVs, Inc., Secured Debt October 31,2019          
Schedule of Investments [Line Items]          
Total Rate [6]         7.50%
Spread [6]         7.00%
Investment, Identifier [Axis]: PPL RVs, Inc., Secured Debt One | Majority-owned investments          
Schedule of Investments [Line Items]          
Spread 7.00%   7.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     79    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     727    
Gross Additions     1,264    
Gross Reductions     2,000    
Ending balance $ (9)   $ (9)    
Investment, Identifier [Axis]: PPL RVs, Inc., Secured Debt One October 31, 2019          
Schedule of Investments [Line Items]          
Spread [3],[4] 7.00%   7.00%    
Investment, Identifier [Axis]: PPL RVs, Inc., Secured Debt Two | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 8.75%   8.75%    
Spread 7.00%   7.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     239    
Amount of Interest, Fees or Dividends Credited to Income     1,155    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     11,655    
Gross Additions     8,000    
Gross Reductions     0    
Ending balance $ 19,655   $ 19,655    
Investment, Identifier [Axis]: PPL RVs, Inc., Secured Debt Two November 15, 2016          
Schedule of Investments [Line Items]          
Total Rate [3] 8.75%   8.75%    
Spread [3] 7.00%   7.00%    
Investment, Identifier [Axis]: PT Network, LLC, Secured Debt October 12,2017          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         8.50%
Spread [6],[7]         5.50%
PIK Rate [6],[7]         2.00%
Investment, Identifier [Axis]: PTL US Bidco, Inc, Secured Debt One August 19, 2022          
Schedule of Investments [Line Items]          
Spread [1],[2],[3],[4] 8.25%   8.25%    
Investment, Identifier [Axis]: PTL US Bidco, Inc, Secured Debt Two August 19, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 11.40%   11.40%    
Spread [1],[2],[3] 8.25%   8.25%    
Investment, Identifier [Axis]: Paragon Healthcare, Inc., Secured Debt One January 19, 2022          
Schedule of Investments [Line Items]          
Spread [1],[2],[3],[4] 5.75%   5.75%    
Investment, Identifier [Axis]: Paragon Healthcare, Inc., Secured Debt Three January 19, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 8.40%   8.40%    
Spread [1],[2],[3] 5.75%   5.75%    
Investment, Identifier [Axis]: Paragon Healthcare, Inc., Secured Debt Two January 19, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 8.45%   8.45%    
Spread [1],[2],[3] 5.75%   5.75%    
Investment, Identifier [Axis]: Pearl Meyer Topco LLC, Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     14,850 5,539  
Amount of Interest, Fees or Dividends Credited to Income     5,754 1,949  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     26,970 15,940  
Gross Additions     14,850 5,540  
Gross Reductions     0 0  
Ending balance $ 41,820 $ 21,480 41,820 $ 21,480  
Investment, Identifier [Axis]: Pearl Meyer Topco LLC, Secured Debt | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate   12.00%   12.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       258  
Amount of Interest, Fees or Dividends Credited to Income       3,223  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       37,202  
Gross Additions       310  
Gross Reductions       3,838  
Ending balance   $ 33,674   33,674  
Investment, Identifier [Axis]: Pearl Meyer Topco LLC, Secured Debt April 27,2020          
Schedule of Investments [Line Items]          
Total Rate         12.00%
Investment, Identifier [Axis]: Pearl Meyer Topco LLC, Secured Debt One | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     24    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     1,500    
Gross Reductions     1,500    
Ending balance $ 0   $ 0    
Investment, Identifier [Axis]: Pearl Meyer Topco LLC, Secured Debt Three | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 12.00%   12.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     (76)    
Amount of Interest, Fees or Dividends Credited to Income     2,819    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     32,674    
Gross Additions     76    
Gross Reductions     4,069    
Ending balance $ 28,681   $ 28,681    
Investment, Identifier [Axis]: Pearl Meyer Topco LLC, Secured Debt Three April 27, 2020          
Schedule of Investments [Line Items]          
Total Rate 12.00%   12.00%    
Investment, Identifier [Axis]: Pearl Meyer Topco LLC, Secured Debt Two | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 12.00%   12.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     0    
Gross Reductions     0    
Ending balance $ 0   0    
Investment, Identifier [Axis]: Pegasus Research Group, LLC, Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       (1,550)  
Amount of Interest, Fees or Dividends Credited to Income       0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       8,830  
Gross Additions       0  
Gross Reductions       1,550  
Ending balance   7,280   7,280  
Investment, Identifier [Axis]: Preferred Member Units (non-voting), Member Units | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     617    
Amount of Unrealized Gain/(Loss)     (541)    
Amount of Interest, Fees or Dividends Credited to Income     224    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     2,560    
Gross Additions     617    
Gross Reductions     3,177    
Ending balance 0   0    
Investment, Identifier [Axis]: Principle Environmental, LLC, Common Stock | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0 0  
Amount of Unrealized Gain/(Loss)     80 (490)  
Amount of Interest, Fees or Dividends Credited to Income     0 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     710 0  
Gross Additions     80 1,200  
Gross Reductions     0 490  
Ending balance 790 710 790 710  
Investment, Identifier [Axis]: Principle Environmental, LLC, Preferred Member Units | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0 0  
Amount of Unrealized Gain/(Loss)     1,070 (920)  
Amount of Interest, Fees or Dividends Credited to Income     656 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     11,160 10,500  
Gross Additions     1,070 0  
Gross Reductions     0 920  
Ending balance 12,230 $ 9,580 12,230 $ 9,580  
Investment, Identifier [Axis]: Principle Environmental, LLC, Secured Debt | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate   13.00%   13.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       (62)  
Amount of Interest, Fees or Dividends Credited to Income       649  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       6,397  
Gross Additions       18  
Gross Reductions       63  
Ending balance   $ 6,352   6,352  
Investment, Identifier [Axis]: Principle Environmental, LLC, Secured Debt February 01,2011          
Schedule of Investments [Line Items]          
Total Rate         13.00%
Investment, Identifier [Axis]: Principle Environmental, LLC, Secured Debt July 01,2011          
Schedule of Investments [Line Items]          
Total Rate         13.00%
Investment, Identifier [Axis]: Principle Environmental, LLC, Secured Debt One | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     104    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     1,465    
Gross Additions     9    
Gross Reductions     1,474    
Ending balance $ 0   $ 0    
Investment, Identifier [Axis]: Principle Environmental, LLC, Secured Debt Two | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 13.00%   13.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     602    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     5,808    
Gross Additions     18    
Gross Reductions     26    
Ending balance $ 5,800   $ 5,800    
Investment, Identifier [Axis]: Principle Environmental, LLC, Secured Debt Two February 01, 2011          
Schedule of Investments [Line Items]          
Total Rate 13.00%   13.00%    
Investment, Identifier [Axis]: Principle Environmental, LLC, Warrants | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       330  
Amount of Interest, Fees or Dividends Credited to Income       0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       870  
Gross Additions       330  
Gross Reductions       1,200  
Ending balance   0   0  
Investment, Identifier [Axis]: Project Eagle Holdings, LLC, Secured Debt July 06,2020          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         7.75%
Spread [6],[7]         6.75%
Investment, Identifier [Axis]: Project Eagle Holdings, LLC, Secured Debt One July 06, 2020          
Schedule of Investments [Line Items]          
Spread [1],[3],[4] 6.50%   6.50%    
Investment, Identifier [Axis]: Project Eagle Holdings, LLC, Secured Debt Two July 06, 2020          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 9.33%   9.33%    
Spread [1],[3] 6.50%   6.50%    
Investment, Identifier [Axis]: Quality Lease Service, LLC, Member Units | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     76 (180)  
Amount of Interest, Fees or Dividends Credited to Income     0 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     2,148 4,460  
Gross Additions     76 0  
Gross Reductions     1,599 1,430  
Ending balance $ 625 3,030 $ 625 3,030  
Investment, Identifier [Axis]: RA Outdoors LLC, Secured Debt April 08,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         7.75%
Spread [6],[7]         6.75%
Investment, Identifier [Axis]: RA Outdoors LLC, Secured Debt One April 08, 2021          
Schedule of Investments [Line Items]          
Spread [1],[2],[3],[4] 6.75%   6.75%    
Investment, Identifier [Axis]: RA Outdoors LLC, Secured Debt Two April 08, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 9.03%   9.03%    
Spread [1],[2],[3] 6.75%   6.75%    
Investment, Identifier [Axis]: RTIC Subsidiary Holdings, LLC, Secured Debt One September 01, 2020          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 10.59%   10.59%    
Spread [1],[3] 7.75%   7.75%    
Investment, Identifier [Axis]: RTIC Subsidiary Holdings, LLC, Secured Debt September 01,2020          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         9.00%
Spread [6],[7]         7.75%
Investment, Identifier [Axis]: RTIC Subsidiary Holdings, LLC, Secured Debt Two September 01, 2020          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 10.03%   10.03%    
Spread [1],[3] 7.75%   7.75%    
Investment, Identifier [Axis]: Research Now Group, Inc. and Survey Sampling International, LLC, Secured Debt December 29, 2017          
Schedule of Investments [Line Items]          
Total Rate [2],[3],[8] 8.84%   8.84%    
Spread [2],[3],[8] 5.50%   5.50%    
Investment, Identifier [Axis]: Research Now Group, Inc. and Survey Sampling International, LLC, Secured Debt December 29,2017          
Schedule of Investments [Line Items]          
Total Rate [5],[6]         6.50%
Spread [5],[6]         5.50%
Investment, Identifier [Axis]: River Aggregates, LLC, Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     180    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     3,280    
Gross Additions     180    
Gross Reductions     0    
Ending balance $ 3,460   3,460    
Investment, Identifier [Axis]: River Aggregates, LLC, Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       160  
Amount of Interest, Fees or Dividends Credited to Income       125  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       3,240  
Gross Additions       160  
Gross Reductions       0  
Ending balance   $ 3,400   $ 3,400  
Investment, Identifier [Axis]: Robbins Bros. Jewelry, Inc., Preferred Equity | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0    
Amount of Unrealized Gain/(Loss)     4,140    
Amount of Interest, Fees or Dividends Credited to Income     558    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     11,070    
Gross Additions     4,140    
Gross Reductions     0    
Ending balance $ 15,210   $ 15,210    
Investment, Identifier [Axis]: Robbins Bros. Jewelry, Inc., Secured Debt December 15,2021          
Schedule of Investments [Line Items]          
Total Rate [6]         12.00%
Spread [6]         11.00%
Investment, Identifier [Axis]: Robbins Bros. Jewelry, Inc., Secured Debt One | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 13.63%   13.63%    
Spread 11.00%   11.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     24    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     (44)    
Gross Additions     6    
Gross Reductions     0    
Ending balance $ (38)   $ (38)    
Investment, Identifier [Axis]: Robbins Bros. Jewelry, Inc., Secured Debt One December 15, 2021          
Schedule of Investments [Line Items]          
Spread [3],[4] 11.00%   11.00%    
Investment, Identifier [Axis]: Robbins Bros. Jewelry, Inc., Secured Debt Two | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 13.63%   13.63%    
Spread 11.00%   11.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     3,465    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     36,000    
Gross Additions     59    
Gross Reductions     450    
Ending balance $ 35,609   $ 35,609    
Investment, Identifier [Axis]: Robbins Bros. Jewelry, Inc., Secured Debt Two December 15, 2021          
Schedule of Investments [Line Items]          
Total Rate [3] 13.63%   13.63%    
Spread [3] 11.00%   11.00%    
Investment, Identifier [Axis]: Rocaceia, LLC (Quality Lease and Rental Holdings, LLC), Preferred Member Units | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     0    
Gross Reductions     0    
Ending balance $ 0   $ 0    
Investment, Identifier [Axis]: Rocaceia, LLC (Quality Lease and Rental Holdings, LLC), Secured Debt | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 12.00% 12.00% 12.00% 12.00%  
Amount of Realized Gain/(Loss)     $ (67) $ (694)  
Amount of Unrealized Gain/(Loss)     0 0  
Amount of Interest, Fees or Dividends Credited to Income     0 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0 0  
Gross Additions     0 0  
Gross Reductions     0 0  
Ending balance $ 0 $ 0 $ 0 0  
Investment, Identifier [Axis]: Rocaceia, LLC (Quality Lease and Rental Holdings, LLC), Secured Debt June 30,2015          
Schedule of Investments [Line Items]          
Total Rate [9],[11],[33]         12.00%
Investment, Identifier [Axis]: Rocaceia, LLC Secured Debt June 30, 2015          
Schedule of Investments [Line Items]          
Total Rate [10],[15],[34] 12.00%   12.00%    
Investment, Identifier [Axis]: Roof Opco, LLC, Secured Debt August 27,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         7.00%
Spread [6],[7]         6.00%
Investment, Identifier [Axis]: Roof Opco, LLC, Secured Debt One August 27, 2021          
Schedule of Investments [Line Items]          
Spread [1],[3],[4] 6.50%   6.50%    
Investment, Identifier [Axis]: Roof Opco, LLC, Secured Debt Three August 27, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 8.78%   8.78%    
Spread [1],[3] 6.50%   6.50%    
Investment, Identifier [Axis]: Roof Opco, LLC, Secured Debt Two August 27, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 8.78%   8.78%    
Spread [1],[3] 6.50%   6.50%    
Investment, Identifier [Axis]: Rug Doctor, LLC., Secured Debt July 16,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         7.25%
Spread [6],[7]         6.25%
Investment, Identifier [Axis]: Rug Doctor, LLC., Secured Debt One July 16, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 11.99%   11.99%    
Spread [1],[2],[3] 8.25%   8.25%    
PIK Rate [1],[2],[3] 2.00%   2.00%    
Investment, Identifier [Axis]: Rug Doctor, LLC., Secured Debt Two July 16, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 11.99%   11.99%    
Spread [1],[2],[3] 8.25%   8.25%    
PIK Rate [1],[2],[3] 2.00%   2.00%    
Investment, Identifier [Axis]: SI East, LLC (Stavig), Preferred Member Units | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     3,380 5,422  
Amount of Interest, Fees or Dividends Credited to Income     568 2,102  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     11,570 9,780  
Gross Additions     3,380 5,422  
Gross Reductions     0 4,782  
Ending balance $ 14,950 $ 10,420 $ 14,950 $ 10,420  
Investment, Identifier [Axis]: SI East, LLC (Stavig), Secured Debt | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate   10.25%   10.25%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       (74)  
Amount of Interest, Fees or Dividends Credited to Income       2,332  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       32,962  
Gross Additions       34,500  
Gross Reductions       3,862  
Ending balance   $ 63,600   63,600  
Investment, Identifier [Axis]: SI East, LLC (Stavig), Secured Debt One | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 10.25%   10.25%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     195    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     2,250    
Gross Additions     3,750    
Gross Reductions     3,750    
Ending balance $ 2,250   $ 2,250    
Investment, Identifier [Axis]: SI East, LLC (Stavig), Secured Debt Two | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 10.25%   10.25%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     6,068    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     63,600    
Gross Additions     31,125    
Gross Reductions     1,489    
Ending balance $ 93,236   $ 93,236    
Investment, Identifier [Axis]: SI East, LLC, Secured Debt August 31,2018          
Schedule of Investments [Line Items]          
Total Rate         10.25%
Investment, Identifier [Axis]: SI East, LLC, Senior Debt One August 31, 2018          
Schedule of Investments [Line Items]          
Total Rate 10.25%   10.25%    
Investment, Identifier [Axis]: SI East, LLC, Senior Debt Two August 31, 2018          
Schedule of Investments [Line Items]          
Total Rate 10.25%   10.25%    
Investment, Identifier [Axis]: SIB Holdings, LLC, Secured Debt October 29,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         7.00%
Spread [6],[7]         6.00%
Investment, Identifier [Axis]: SIB Holdings, LLC, Secured Debt One October 29, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 8.81%   8.81%    
Spread [1],[2],[3] 6.25%   6.25%    
Investment, Identifier [Axis]: SIB Holdings, LLC, Secured Debt Three October 29, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 8.14%   8.14%    
Spread [1],[2],[3] 6.25%   6.25%    
Investment, Identifier [Axis]: SIB Holdings, LLC, Secured Debt Two October 29, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 8.81%   8.81%    
Spread [1],[2],[3] 6.25%   6.25%    
Investment, Identifier [Axis]: SPAU Holdings, LLC, Secured Debt One July 01, 2022          
Schedule of Investments [Line Items]          
Spread [1],[2],[3],[4] 7.50%   7.50%    
Investment, Identifier [Axis]: SPAU Holdings, LLC, Secured Debt Two July 01, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 9.58%   9.58%    
Spread [1],[2],[3] 7.50%   7.50%    
Investment, Identifier [Axis]: Salient Partners L.P., Secured Debt August 31,2018          
Schedule of Investments [Line Items]          
Total Rate [5],[6]         7.00%
Spread [5],[6]         6.00%
Investment, Identifier [Axis]: Salient Partners L.P., Secured Debt One August 31, 2018          
Schedule of Investments [Line Items]          
Total Rate [3],[8] 9.67%   9.67%    
Spread [3],[8] 6.00%   6.00%    
Investment, Identifier [Axis]: Salient Partners L.P., Secured Debt Two September 30, 2021          
Schedule of Investments [Line Items]          
Total Rate [3],[8] 9.67%   9.67%    
Spread [3],[8] 6.00%   6.00%    
Investment, Identifier [Axis]: Savers, Inc., Secured Debt May 14, 2021          
Schedule of Investments [Line Items]          
Total Rate [3],[8] 9.17%   9.17%    
Spread [3],[8] 5.50%   5.50%    
Investment, Identifier [Axis]: Savers, Inc., Secured Debt May 14,2021          
Schedule of Investments [Line Items]          
Total Rate [5],[6]         6.25%
Spread [5],[6]         5.50%
Investment, Identifier [Axis]: Slick Innovations, LLC, Common Stock | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     130 180  
Amount of Interest, Fees or Dividends Credited to Income     0 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     1,510 1,330  
Gross Additions     130 180  
Gross Reductions     0 0  
Ending balance $ 1,640 $ 1,510 $ 1,640 $ 1,510  
Investment, Identifier [Axis]: Slick Innovations, LLC, Secured Debt | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 11.00% 13.00% 11.00% 13.00%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     (41) (33)  
Amount of Interest, Fees or Dividends Credited to Income     481 545  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     5,320 5,720  
Gross Additions     41 33  
Gross Reductions     1,121 433  
Ending balance $ 4,240 $ 5,320 $ 4,240 5,320  
Investment, Identifier [Axis]: Slick Innovations, LLC, Secured Debt September 13, 2018          
Schedule of Investments [Line Items]          
Total Rate 11.00%   11.00%    
Investment, Identifier [Axis]: Slick Innovations, LLC, Secured Debt September 13,2018          
Schedule of Investments [Line Items]          
Total Rate         13.00%
Investment, Identifier [Axis]: Slick Innovations, LLC, Warrants | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     40 40  
Amount of Interest, Fees or Dividends Credited to Income     0 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     400 360  
Gross Additions     40 40  
Gross Reductions     0 0  
Ending balance $ 440 400 440 400  
Investment, Identifier [Axis]: Sonic Systems International, LLC, Common Stock | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0 0  
Amount of Unrealized Gain/(Loss)     64 0  
Amount of Interest, Fees or Dividends Credited to Income     32 26  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     1,070 0  
Gross Additions     350 1,070  
Gross Reductions     0 0  
Ending balance $ 1,420 $ 1,070 $ 1,420 $ 1,070  
Investment, Identifier [Axis]: Sonic Systems International, LLC, Secured Debt | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 9.75% 8.50% 9.75% 8.50%  
Spread 7.50% 7.50% 7.50% 7.50%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     102 0  
Amount of Interest, Fees or Dividends Credited to Income     966 111  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     11,757 0  
Gross Additions     3,856 11,747  
Gross Reductions     0 0  
Ending balance $ 15,613 $ 11,747 $ 15,613 11,747  
Investment, Identifier [Axis]: Sonic Systems International, LLC, Secured Debt August 20, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 9.78%   9.78%    
Spread [1],[3] 7.50%   7.50%    
Investment, Identifier [Axis]: Sonic Systems International, LLC, Secured Debt August 20,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         8.50%
Spread [6],[7]         7.50%
Investment, Identifier [Axis]: South Coast Terminals Holdings, LLC, Secured Debt December 10,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         7.25%
Spread [6],[7]         6.25%
Investment, Identifier [Axis]: South Coast Terminals Holdings, LLC, Secured Debt One December 10, 2021          
Schedule of Investments [Line Items]          
Spread [1],[3],[4] 5.75%   5.75%    
Investment, Identifier [Axis]: South Coast Terminals Holdings, LLC, Secured Debt Two December 10, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 8.74%   8.74%    
Spread [1],[3] 5.75%   5.75%    
Investment, Identifier [Axis]: Staples Canada ULC, Secured Debt September 14, 2017          
Schedule of Investments [Line Items]          
Total Rate [1],[3],[25],[26],[35] 10.19%   10.19%    
Spread [1],[3],[25],[26],[35] 7.00%   7.00%    
Investment, Identifier [Axis]: Staples Canada ULC, Secured Debt September 14,2017          
Schedule of Investments [Line Items]          
Total Rate [6],[7],[27],[28],[36]         8.00%
Spread [6],[7],[27],[28],[36]         7.00%
Investment, Identifier [Axis]: Stellant Systems, Inc., Secured Debt October 22, 2021          
Schedule of Investments [Line Items]          
Total Rate [2],[3],[8] 8.41%   8.41%    
Spread [2],[3],[8] 5.50%   5.50%    
Investment, Identifier [Axis]: Stellant Systems, Inc., Secured Debt October 22,2021          
Schedule of Investments [Line Items]          
Total Rate [5],[6]         6.25%
Spread [5],[6]         5.50%
Investment, Identifier [Axis]: Student Resource Center, LLC, Secured Debt June 25,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         9.00%
Spread [6],[7]         8.00%
Investment, Identifier [Axis]: Student Resource Center, LLC, Secured Debt One June 15, 2021          
Schedule of Investments [Line Items]          
Spread [1],[3],[4] 8.00%   8.00%    
Investment, Identifier [Axis]: Student Resource Center, LLC, Secured Debt Three September 30, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 11.75%   11.75%    
Spread [1],[3] 9.50%   9.50%    
Investment, Identifier [Axis]: Student Resource Center, LLC, Secured Debt Two September 30, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 10.25%   10.25%    
Spread [1],[3] 7.00%   7.00%    
Investment, Identifier [Axis]: Superior Rigging & Erecting Co., Preferred Member Units | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     0 0  
Amount of Interest, Fees or Dividends Credited to Income     0 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     4,500 4,500  
Gross Additions     0 0  
Gross Reductions     0 0  
Ending balance $ 4,500 $ 4,500 $ 4,500 $ 4,500  
Investment, Identifier [Axis]: Superior Rigging & Erecting Co., Secured Debt | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 12.00% 12.00% 12.00% 12.00%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     0 0  
Amount of Interest, Fees or Dividends Credited to Income     1,991 1,982  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     21,332 21,298  
Gross Additions     35 25  
Gross Reductions     0 0  
Ending balance $ 21,367 $ 21,323 $ 21,367 21,323  
Investment, Identifier [Axis]: Superior Rigging & Erecting Co., Secured Debt August 31, 2020          
Schedule of Investments [Line Items]          
Total Rate 12.00%   12.00%    
Investment, Identifier [Axis]: Superior Rigging & Erecting Co., Secured Debt August 31,2020          
Schedule of Investments [Line Items]          
Total Rate         12.00%
Investment, Identifier [Axis]: Tacala Investment Corp., Secured Debt March 19,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[37]         4.25%
Spread [6],[37]         3.50%
PIK Rate         2.00%
Investment, Identifier [Axis]: Tacala Investment Corp., Secured Debt May 19, 2021          
Schedule of Investments [Line Items]          
Total Rate [3],[38],[39] 6.62%   6.62%    
Spread [3],[38],[39] 3.50%   3.50%    
Investment, Identifier [Axis]: Team Public Choices, LLC, Secured Debt December 22, 2020          
Schedule of Investments [Line Items]          
Total Rate [3],[8] 7.81%   7.81%    
Spread [3],[8] 5.00%   5.00%    
Investment, Identifier [Axis]: Team Public Choices, LLC, Secured Debt December 22,2020          
Schedule of Investments [Line Items]          
Total Rate [5],[6]         6.00%
Spread [5],[6]         5.00%
Investment, Identifier [Axis]: Tedder Industries, LLC, Preferred Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     (1,933) 0  
Amount of Interest, Fees or Dividends Credited to Income     0 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     8,579 8,136  
Gross Additions     488 0  
Gross Reductions     1,930 0  
Ending balance $ 7,137 $ 8,136 $ 7,137 $ 8,136  
Investment, Identifier [Axis]: Tedder Industries, LLC, Secured Debt | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate   12.00%   12.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       1,486  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       16,301  
Gross Additions       2,032  
Gross Reductions       1,600  
Ending balance   $ 16,733   16,733  
Investment, Identifier [Axis]: Tedder Industries, LLC, Secured Debt August 31,2018          
Schedule of Investments [Line Items]          
Total Rate         12.00%
Investment, Identifier [Axis]: Tedder Industries, LLC, Secured Debt One | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 12.00%   12.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     158    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     1,040    
Gross Additions     800    
Gross Reductions     0    
Ending balance $ 1,840   $ 1,840    
Investment, Identifier [Axis]: Tedder Industries, LLC, Secured Debt One August 31, 2018          
Schedule of Investments [Line Items]          
Total Rate 12.00%   12.00%    
Investment, Identifier [Axis]: Tedder Industries, LLC, Secured Debt Two | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 12.00%   12.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     (71)    
Amount of Interest, Fees or Dividends Credited to Income     1,431    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     15,141    
Gross Additions     47    
Gross Reductions     71    
Ending balance $ 15,117   $ 15,117    
Investment, Identifier [Axis]: Tedder Industries, LLC, Secured Debt Two August 31, 2018          
Schedule of Investments [Line Items]          
Total Rate 12.00%   12.00%    
Investment, Identifier [Axis]: Televerde, LLC, Member Units | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     (2,076)    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     7,280    
Gross Additions     0    
Gross Reductions     2,076    
Ending balance $ 5,204   5,204    
Investment, Identifier [Axis]: Televerde, LLC, Preferred Stock | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0    
Amount of Unrealized Gain/(Loss)     1,076    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     1,794    
Gross Reductions     0    
Ending balance 1,794   1,794    
Investment, Identifier [Axis]: The Affiliati Network, LLC, Preferred Stock | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       0  
Gross Additions       6,400  
Gross Reductions       0  
Ending balance   $ 6,400   $ 6,400  
Investment, Identifier [Axis]: The Affiliati Network, LLC, Secured Debt August 09,2021          
Schedule of Investments [Line Items]          
Total Rate         7.00%
Investment, Identifier [Axis]: The Affiliati Network, LLC, Secured Debt One | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate   10.00%   10.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       2  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       0  
Gross Additions       381  
Gross Reductions       0  
Ending balance   $ 381   $ 381  
Investment, Identifier [Axis]: The Affiliati Network, LLC, Secured Debt One August 09,2021          
Schedule of Investments [Line Items]          
Total Rate         11.83%
Investment, Identifier [Axis]: The Affiliati Network, LLC, Secured Debt Two | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate   11.83%   11.83%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       421  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       0  
Gross Additions       13,862  
Gross Reductions       239  
Ending balance   $ 13,623   13,623  
Investment, Identifier [Axis]: The Affiliati Network, LLC., Preferred Stock | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     339    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     6,400    
Gross Additions     0    
Gross Reductions     0    
Ending balance 6,400   6,400    
Investment, Identifier [Axis]: The Affiliati Network, LLC., Secured Debt One | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     28    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     262    
Gross Additions     3,523    
Gross Reductions     3,800    
Ending balance $ (15)   $ (15)    
Investment, Identifier [Axis]: The Affiliati Network, LLC., Secured Debt Two | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 13.00%   13.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     1,166    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     12,834    
Gross Additions     35    
Gross Reductions     1,720    
Ending balance $ 11,149   $ 11,149    
Investment, Identifier [Axis]: The Affiliati Network, LLC., Secured Debt Two August 09, 2021          
Schedule of Investments [Line Items]          
Total Rate 13.00%   13.00%    
Investment, Identifier [Axis]: Trantech Radiator Topco, LLC, Common Stock | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     (1,240) 620  
Amount of Interest, Fees or Dividends Credited to Income     87 87  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     8,660 6,030  
Gross Additions     0 620  
Gross Reductions     1,240 0  
Ending balance $ 7,420 $ 6,650 $ 7,420 $ 6,650  
Investment, Identifier [Axis]: Trantech Radiator Topco, LLC, Secured Debt | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate   12.00%   12.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       811  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       8,644  
Gross Additions       14  
Gross Reductions       0  
Ending balance   $ 8,658   $ 8,658  
Investment, Identifier [Axis]: Trantech Radiator Topco, LLC, Secured Debt May 31,2019          
Schedule of Investments [Line Items]          
Total Rate         12.00%
Investment, Identifier [Axis]: Trantech Radiator Topco, LLC, Secured Debt One | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 8.00%   8.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     5    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     (8)    
Gross Additions     3    
Gross Reductions     0    
Ending balance $ (5)   $ (5)    
Investment, Identifier [Axis]: Trantech Radiator Topco, LLC, Secured Debt Two | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 12.00%   12.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     (17)    
Amount of Interest, Fees or Dividends Credited to Income     785    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     8,720    
Gross Additions     17    
Gross Reductions     417    
Ending balance $ 8,320   $ 8,320    
Investment, Identifier [Axis]: Trantech Radiator Topco, LLC, Secured Debt Two May 31, 2019          
Schedule of Investments [Line Items]          
Total Rate 12.00%   12.00%    
Investment, Identifier [Axis]: U.S. TelePacific Corp., Secured Debt May 17, 2017          
Schedule of Investments [Line Items]          
Total Rate [2],[3],[8] 11.57%   11.57%    
Spread [2],[3],[8] 8.50%   8.50%    
PIK Rate [2],[3],[8] 7.25%   7.25%    
Investment, Identifier [Axis]: U.S. TelePacific Corp., Secured Debt May 17,2017          
Schedule of Investments [Line Items]          
Total Rate [5],[6]         7.00%
Spread [5],[6]         6.00%
Investment, Identifier [Axis]: USA DeBusk LLC, Secured Debt October 22, 2019          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 8.27%   8.27%    
Spread [1],[3] 5.75%   5.75%    
Investment, Identifier [Axis]: USA DeBusk LLC, Secured Debt October 22,2019          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         6.75%
Spread [6],[7]         5.75%
Investment, Identifier [Axis]: UniTek Global Services, Inc., Common Stock | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     0    
Gross Reductions     0    
Ending balance $ 0   $ 0    
Investment, Identifier [Axis]: UniTek Global Services, Inc., Preferred Stock August 21,2018          
Schedule of Investments [Line Items]          
Total Rate [5]         20.00%
PIK Rate [5]         20.00%
Investment, Identifier [Axis]: UniTek Global Services, Inc., Preferred Stock August 29,2019          
Schedule of Investments [Line Items]          
Total Rate [5],[14]         20.00%
PIK Rate [5],[14]         20.00%
Investment, Identifier [Axis]: UniTek Global Services, Inc., Preferred Stock Four | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 13.50%   13.50%    
PIK Rate 13.50%   13.50%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     0    
Gross Reductions     0    
Ending balance $ 0   $ 0    
Investment, Identifier [Axis]: UniTek Global Services, Inc., Preferred Stock January 15,2015          
Schedule of Investments [Line Items]          
Total Rate [5]         13.50%
PIK Rate [5]         13.50%
Investment, Identifier [Axis]: UniTek Global Services, Inc., Preferred Stock June 30,2017          
Schedule of Investments [Line Items]          
Total Rate [5]         19.00%
PIK Rate [5]         19.00%
Investment, Identifier [Axis]: UniTek Global Services, Inc., Preferred Stock One | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 20.00% 20.00% 20.00% 20.00%  
PIK Rate 20.00% 20.00% 20.00% 20.00%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     (280) 737  
Amount of Interest, Fees or Dividends Credited to Income     280 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     2,832 375  
Gross Additions     281 737  
Gross Reductions     280 0  
Ending balance $ 2,833 $ 1,112 $ 2,833 $ 1,112  
Investment, Identifier [Axis]: UniTek Global Services, Inc., Preferred Stock Three | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 19.00%   19.00%    
PIK Rate 19.00%   19.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     0    
Gross Reductions     0    
Ending balance $ 0   $ 0    
Investment, Identifier [Axis]: UniTek Global Services, Inc., Preferred Stock Two | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 20.00% 20.00% 20.00% 20.00%  
PIK Rate 20.00% 20.00% 20.00% 20.00%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     153 (230)  
Amount of Interest, Fees or Dividends Credited to Income     0 230  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     1,498 2,833  
Gross Additions     153 230  
Gross Reductions     0 230  
Ending balance $ 1,651 $ 2,833 $ 1,651 $ 2,833  
Investment, Identifier [Axis]: UniTek Global Services, Inc., Secured Convertible Debt | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 15.00% 15.00% 15.00% 15.00%  
PIK Rate 15.00% 15.00% 15.00% 15.00%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     782 966  
Amount of Interest, Fees or Dividends Credited to Income     167 105  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     2,375 0  
Gross Additions     1,896 2,249  
Gross Reductions     0 87  
Ending balance $ 4,271 $ 2,162 $ 4,271 $ 2,162  
Investment, Identifier [Axis]: UniTek Global Services, Inc., Secured Convertible Debt January 01,2021          
Schedule of Investments [Line Items]          
Total Rate [5]         15.00%
PIK Rate [5]         15.00%
Investment, Identifier [Axis]: UniTek Global Services, Inc., Secured Debt | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate   8.50%   8.50%  
Spread   5.50%   5.50%  
PIK Rate   2.00%   2.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       114  
Amount of Interest, Fees or Dividends Credited to Income       183  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       2,425  
Gross Additions       243  
Gross Reductions       454  
Ending balance   $ 2,214   2,214  
Investment, Identifier [Axis]: UniTek Global Services, Inc., Secured Debt August 27,2018          
Schedule of Investments [Line Items]          
Total Rate [5],[6]         8.50%
Spread [5],[6]         5.50%
PIK Rate [5],[6]         2.00%
Investment, Identifier [Axis]: UniTek Global Services, Inc., Secured Debt October 15,2018          
Schedule of Investments [Line Items]          
Total Rate [5],[6]         8.50%
Spread [5],[6]         5.50%
PIK Rate [5],[6]         2.00%
Investment, Identifier [Axis]: UniTek Global Services, Inc., Secured Debt One | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 10.76%   10.76%    
Spread 5.50%   5.50%    
PIK Rate 2.00%   2.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     3    
Amount of Interest, Fees or Dividends Credited to Income     29    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     371    
Gross Additions     9    
Gross Reductions     0    
Ending balance $ 380   $ 380    
Investment, Identifier [Axis]: UniTek Global Services, Inc., Secured Debt Two | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 10.76%   10.76%    
Spread 5.50%   5.50%    
PIK Rate 2.00%   2.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     26    
Amount of Interest, Fees or Dividends Credited to Income     146    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     1,852    
Gross Additions     61    
Gross Reductions     212    
Ending balance $ 1,701   $ 1,701    
Investment, Identifier [Axis]: UniTek Global Services, Inc.., Preferred Stock August 21, 2018          
Schedule of Investments [Line Items]          
Total Rate [8] 20.00%   20.00%    
PIK Rate [8] 20.00%   20.00%    
Investment, Identifier [Axis]: UniTek Global Services, Inc.., Preferred Stock August 29, 2019          
Schedule of Investments [Line Items]          
Total Rate [8],[17] 20.00%   20.00%    
PIK Rate [8],[17] 20.00%   20.00%    
Investment, Identifier [Axis]: UniTek Global Services, Inc.., Preferred Stock January 15, 2015          
Schedule of Investments [Line Items]          
Total Rate [8] 13.50%   13.50%    
PIK Rate [8] 13.50%   13.50%    
Investment, Identifier [Axis]: UniTek Global Services, Inc.., Preferred Stock June 30, 2017          
Schedule of Investments [Line Items]          
Total Rate [8] 19.00%   19.00%    
PIK Rate [8] 19.00%   19.00%    
Investment, Identifier [Axis]: UniTek Global Services, Inc.., Secured Convertible Debt January 1, 2018          
Schedule of Investments [Line Items]          
Total Rate [8] 15.00%   15.00%    
PIK Rate [8] 15.00%   15.00%    
Investment, Identifier [Axis]: UniTek Global Services, Inc.., Secured Debt August 27, 2018          
Schedule of Investments [Line Items]          
Total Rate [2],[3],[8] 10.76%   10.76%    
Spread [2],[3],[8] 5.50%   5.50%    
PIK Rate [2],[3],[8] 2.00%   2.00%    
Investment, Identifier [Axis]: UniTek Global Services, Inc.., Secured Debt October 15, 2018          
Schedule of Investments [Line Items]          
Total Rate [2],[3],[8] 10.76%   10.76%    
Spread [2],[3],[8] 5.50%   5.50%    
PIK Rate [2],[3],[8] 2.00%   2.00%    
Investment, Identifier [Axis]: UnionRock Energy Fund II, LP, LP Interests | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)       0  
Amount of Unrealized Gain/(Loss)       2,407  
Amount of Interest, Fees or Dividends Credited to Income       0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       2,894  
Gross Additions       3,781  
Gross Reductions       220  
Ending balance   $ 6,455   $ 6,455  
Investment, Identifier [Axis]: UnionRock Energy Fund II, LP, LP Interests | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     (64)    
Amount of Interest, Fees or Dividends Credited to Income     194    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     6,123    
Gross Additions     1,880    
Gross Reductions     2,649    
Ending balance $ 5,354   $ 5,354    
Investment, Identifier [Axis]: Universal Wellhead Services Holdings, LLC, Preferred Member Units December 07, 2016          
Schedule of Investments [Line Items]          
Total Rate [1],[18] 14.00%   14.00%    
PIK Rate [1],[18] 14.00%   14.00%    
Investment, Identifier [Axis]: Universal Wellhead Services Holdings, LLC, Preferred Member Units December 07,2016          
Schedule of Investments [Line Items]          
Total Rate [7],[16]         14.00%
PIK Rate [7],[16]         14.00%
Investment, Identifier [Axis]: VORTEQ Coil Finishers, LLC, Secured Debt November 30, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 9.75%   9.75%    
Spread [1],[3] 7.25%   7.25%    
Investment, Identifier [Axis]: VORTEQ Coil Finishers, LLC, Secured Debt November 30,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         8.50%
Spread [6],[7]         7.50%
Investment, Identifier [Axis]: VVS Holdco LLC, Preferred Equity | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     240    
Amount of Interest, Fees or Dividends Credited to Income     300    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     11,840    
Gross Additions     238    
Gross Reductions     0    
Ending balance $ 12,078   $ 12,078    
Investment, Identifier [Axis]: VVS Holdco LLC, Secured Debt One | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 8.63%   8.63%    
Spread 6.00%   6.00%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     45    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     1,169    
Gross Additions     805    
Gross Reductions     1,201    
Ending balance $ 773   $ 773    
Investment, Identifier [Axis]: VVS Holdco LLC, Secured Debt One December 01, 2021          
Schedule of Investments [Line Items]          
Total Rate [3],[18] 8.63%   8.63%    
Spread [3],[18] 6.00%   6.00%    
Investment, Identifier [Axis]: VVS Holdco LLC, Secured Debt One December 01,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[16]         7.00%
Spread [6],[16]         6.00%
Investment, Identifier [Axis]: VVS Holdco LLC, Secured Debt Two | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate 11.50%   11.50%    
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     2,697    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     30,100    
Gross Additions     46    
Gross Reductions     0    
Ending balance $ 30,146   $ 30,146    
Investment, Identifier [Axis]: VVS Holdco LLC, Secured Debt Two December 01, 2021          
Schedule of Investments [Line Items]          
Total Rate [18] 11.50%   11.50%    
Investment, Identifier [Axis]: VVS Holdco LLC, Secured Debt Two December 01,2021          
Schedule of Investments [Line Items]          
Total Rate [16]         11.50%
Investment, Identifier [Axis]: Veregy Consolidated, Inc., Secured Debt November 09, 2020          
Schedule of Investments [Line Items]          
Spread [3],[4],[8] 5.25%   5.25%    
Investment, Identifier [Axis]: Veregy Consolidated, Inc., Secured Debt November 09,2020          
Schedule of Investments [Line Items]          
Total Rate [5],[6]         6.25%
Spread [5],[6]         5.25%
Investment, Identifier [Axis]: Veregy Consolidated, Inc., Secured Debt One November 09,2020          
Schedule of Investments [Line Items]          
Total Rate [5],[6]         7.00%
Spread [5],[6]         6.00%
Investment, Identifier [Axis]: Veregy Consolidated, Inc., Secured Debt Two November 09, 2020          
Schedule of Investments [Line Items]          
Total Rate [3],[8] 8.81%   8.81%    
Spread [3],[8] 6.00%   6.00%    
Investment, Identifier [Axis]: Vida Capital, Inc, Secured Debt October 10, 2019          
Schedule of Investments [Line Items]          
Total Rate [8] 9.12%   9.12%    
Spread [8] 6.00%   6.00%    
Investment, Identifier [Axis]: Vida Capital, Inc, Secured Debt October 10,2019          
Schedule of Investments [Line Items]          
Total Rate [5]         6.10%
Spread [5]         6.00%
Investment, Identifier [Axis]: Vision Interests, Inc., Secured Debt | Other controlled investments          
Schedule of Investments [Line Items]          
Total Rate   13.00%   13.00%  
Amount of Realized Gain/(Loss)       $ 0  
Amount of Unrealized Gain/(Loss)       0  
Amount of Interest, Fees or Dividends Credited to Income       200  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance       2,028  
Gross Additions       0  
Gross Reductions       0  
Ending balance   $ 2,028   2,028  
Investment, Identifier [Axis]: Vision Interests, Inc., Series A Preferred Stock | Other controlled investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     0 (160)  
Amount of Interest, Fees or Dividends Credited to Income     144 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     3,000 3,160  
Gross Additions     0 0  
Gross Reductions     0 160  
Ending balance $ 3,000 3,000 3,000 3,000  
Investment, Identifier [Axis]: Volusion, LLC, Preferred Member Units | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     0 0  
Amount of Unrealized Gain/(Loss)     (5,989) 0  
Amount of Interest, Fees or Dividends Credited to Income     0 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     5,990 5,990  
Gross Additions     0 0  
Gross Reductions     5,990 0  
Ending balance $ 0 $ 5,990 $ 0 $ 5,990  
Investment, Identifier [Axis]: Volusion, LLC, Secured Debt | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 11.50% 11.50% 11.50% 11.50%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     (104) 991  
Amount of Interest, Fees or Dividends Credited to Income     1,490 1,736  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     17,434 19,243  
Gross Additions     0 991  
Gross Reductions     804 2,800  
Ending balance $ 16,630 $ 17,434 $ 16,630 $ 17,434  
Investment, Identifier [Axis]: Volusion, LLC, Secured Debt January 26, 2015          
Schedule of Investments [Line Items]          
Total Rate [15] 11.50%   11.50%    
Investment, Identifier [Axis]: Volusion, LLC, Secured Debt January 26,2015          
Schedule of Investments [Line Items]          
Total Rate [11]         11.50%
Investment, Identifier [Axis]: Volusion, LLC, Unsecured Convertible Debt | Affiliate investments          
Schedule of Investments [Line Items]          
Total Rate 8.00% 8.00% 8.00% 8.00%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     0 118  
Amount of Interest, Fees or Dividends Credited to Income     24 24  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     409 291  
Gross Additions     0 118  
Gross Reductions     0 0  
Ending balance $ 409 $ 409 $ 409 409  
Investment, Identifier [Axis]: Volusion, LLC, Unsecured Convertible Debt May 16, 2018          
Schedule of Investments [Line Items]          
Total Rate 8.00%   8.00%    
Investment, Identifier [Axis]: Volusion, LLC, Unsecured Convertible Debt May 16,2018          
Schedule of Investments [Line Items]          
Total Rate         8.00%
Investment, Identifier [Axis]: Volusion, LLC, Warrants | Affiliate investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     0    
Gross Reductions     0    
Ending balance $ 0   $ 0    
Investment, Identifier [Axis]: Wahoo Fitness Acquisition L.L.C., Secured Debt August 17, 2021          
Schedule of Investments [Line Items]          
Total Rate [2],[3],[8] 9.57%   9.57%    
Spread [2],[3],[8] 5.75%   5.75%    
Investment, Identifier [Axis]: Wahoo Fitness Acquisition L.L.C., Secured Debt August 17,2021          
Schedule of Investments [Line Items]          
Total Rate [5],[6]         6.75%
Spread [5],[6]         5.75%
Investment, Identifier [Axis]: Wall Street Prep, Inc., Secured Debt July 19,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         8.00%
Spread [6],[7]         7.00%
Investment, Identifier [Axis]: Wall Street Prep, Inc., Secured Debt One July 19, 2021          
Schedule of Investments [Line Items]          
Spread [1],[3],[4] 7.00%   7.00%    
Investment, Identifier [Axis]: Wall Street Prep, Inc., Secured Debt Two July 19, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 9.28%   9.28%    
Spread [1],[3] 7.00%   7.00%    
Investment, Identifier [Axis]: Watterson Brands, LLC, Secured Debt December 17,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         7.25%
Spread [6],[7]         6.25%
Investment, Identifier [Axis]: Watterson Brands, LLC, Secured Debt One December 17, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 9.63%   9.63%    
Spread [1],[3] 6.00%   6.00%    
Investment, Identifier [Axis]: Watterson Brands, LLC, Secured Debt Three December 17, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 8.25%   8.25%    
Spread [1],[3] 6.00%   6.00%    
Investment, Identifier [Axis]: Watterson Brands, LLC, Secured Debt Two December 17, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 8.25%   8.25%    
Spread [1],[3] 6.00%   6.00%    
Investment, Identifier [Axis]: West Star Aviation Acquisition, LLC, Secured Debt One March 01, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 8.59%   8.59%    
Spread [1],[2],[3] 6.00%   6.00%    
Investment, Identifier [Axis]: West Star Aviation Acquisition, LLC, Secured Debt Two March 01, 2022          
Schedule of Investments [Line Items]          
Spread [1],[2],[3],[4] 6.00%   6.00%    
Investment, Identifier [Axis]: Winter Services LLC, Secured Debt One November 19, 2021          
Schedule of Investments [Line Items]          
Spread [1],[3],[4] 7.00%   7.00%    
Investment, Identifier [Axis]: Winter Services LLC, Secured Debt Three November 19, 2021          
Schedule of Investments [Line Items]          
Total Rate [1],[3] 9.23%   9.23%    
Spread [1],[3] 7.00%   7.00%    
Investment, Identifier [Axis]: Winter Services LLC, Secured Debt Two November 19, 2021          
Schedule of Investments [Line Items]          
Spread [1],[3],[4] 7.00%   7.00%    
Investment, Identifier [Axis]: Xenon Arc, Inc, Secured Debt December 17,2021          
Schedule of Investments [Line Items]          
Total Rate [6],[7]         6.75%
Spread [6],[7]         6.00%
Investment, Identifier [Axis]: Xenon Arc, Inc., Secured Debt One December 17, 2021          
Schedule of Investments [Line Items]          
Spread [1],[4] 5.25%   5.25%    
Investment, Identifier [Axis]: Xenon Arc, Inc., Secured Debt Three December 17, 2021          
Schedule of Investments [Line Items]          
Total Rate [1] 8.63%   8.63%    
Spread [1] 5.25%   5.25%    
Investment, Identifier [Axis]: Xenon Arc, Inc., Secured Debt Two December 17, 2021          
Schedule of Investments [Line Items]          
Spread [1],[4] 5.25%   5.25%    
Investment, Identifier [Axis]: YS Garments, LLC, Secured Debt August 22, 2018          
Schedule of Investments [Line Items]          
Total Rate [3],[8] 7.92%   7.92%    
Spread [3],[8] 5.50%   5.50%    
Investment, Identifier [Axis]: YS Garments, LLC, Secured Debt August 22,2018          
Schedule of Investments [Line Items]          
Total Rate [5],[6]         6.50%
Spread [5],[6]         5.50%
Investment, Identifier [Axis]: Ziegler’s NYPD, LLC, Preferred Member Units | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0 0  
Amount of Unrealized Gain/(Loss)     (940) 350  
Amount of Interest, Fees or Dividends Credited to Income     0 0  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     2,130 1,780  
Gross Additions     0 350  
Gross Reductions     940 0  
Ending balance $ 1,190 $ 2,130 $ 1,190 $ 2,130  
Investment, Identifier [Axis]: Ziegler’s NYPD, LLC, Secured Debt June 01,2015          
Schedule of Investments [Line Items]          
Total Rate         12.00%
Investment, Identifier [Axis]: Ziegler’s NYPD, LLC, Secured Debt One | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 12.00% 12.00% 12.00% 12.00%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     0 0  
Amount of Interest, Fees or Dividends Credited to Income     57 57  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     625 625  
Gross Additions     0 0  
Gross Reductions     175 0  
Ending balance $ 450 $ 625 $ 450 $ 625  
Investment, Identifier [Axis]: Ziegler’s NYPD, LLC, Secured Debt One June 01, 2015          
Schedule of Investments [Line Items]          
Total Rate 12.00%   12.00%    
Investment, Identifier [Axis]: Ziegler’s NYPD, LLC, Secured Debt One October 01,2008          
Schedule of Investments [Line Items]          
Total Rate         6.50%
Investment, Identifier [Axis]: Ziegler’s NYPD, LLC, Secured Debt Three | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 14.00% 6.50% 14.00% 6.50%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     (74) 21  
Amount of Interest, Fees or Dividends Credited to Income     292 49  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     2,750 979  
Gross Additions     0 21  
Gross Reductions     74 0  
Ending balance $ 2,676 $ 1,000 $ 2,676 $ 1,000  
Investment, Identifier [Axis]: Ziegler’s NYPD, LLC, Secured Debt Three October 01, 2008          
Schedule of Investments [Line Items]          
Total Rate 14.00%   14.00%    
Investment, Identifier [Axis]: Ziegler’s NYPD, LLC, Secured Debt Two | Majority-owned investments          
Schedule of Investments [Line Items]          
Total Rate 6.50% 14.00% 6.50% 14.00%  
Amount of Realized Gain/(Loss)     $ 0 $ 0  
Amount of Unrealized Gain/(Loss)     0 0  
Amount of Interest, Fees or Dividends Credited to Income     49 292  
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     1,000 2,750  
Gross Additions     0 0  
Gross Reductions     0 0  
Ending balance $ 1,000 $ 2,750 $ 1,000 $ 2,750  
Investment, Identifier [Axis]: Ziegler’s NYPD, LLC, Secured Debt Two October 01, 2008          
Schedule of Investments [Line Items]          
Total Rate 6.50%   6.50%    
Investment, Identifier [Axis]: Ziegler’s NYPD, LLC, Secured Debt Two October 01,2008          
Schedule of Investments [Line Items]          
Total Rate         14.00%
Investment, Identifier [Axis]: Ziegler’s NYPD, LLC, Warrants | Majority-owned investments          
Schedule of Investments [Line Items]          
Amount of Realized Gain/(Loss)     $ 0    
Amount of Unrealized Gain/(Loss)     0    
Amount of Interest, Fees or Dividends Credited to Income     0    
Investments in and Advances to Affiliates, at Fair Value [Roll Forward]          
Beginning balance     0    
Gross Additions     0    
Gross Reductions     0    
Ending balance $ 0   $ 0    
Investment, Identifier [Axis]: Zips Car Wash, LLC, Secured Debt One February 11, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3] 9.94%   9.94%    
Spread [1],[2],[3] 7.25%   7.25%    
Investment, Identifier [Axis]: Zips Car Wash, LLC, Secured Debt Two February 11, 2022          
Schedule of Investments [Line Items]          
Total Rate [1],[2],[3],[39] 9.86%   9.86%    
Spread [1],[2],[3],[39] 7.25%   7.25%    
[1] Private Loan portfolio investment. See Note C—Fair Value Hierarchy for Investments—Portfolio Composition for a description of Private Loan portfolio investments.
[2] A majority of the variable rate loans in the Company’s investment portfolio bear interest at a rate that may be determined by reference to either LIBOR (“L”), SOFR (“SF”) or an alternate Base Rate (commonly based on the Federal Funds Rate or the Prime Rate (“P”)), which typically resets every one, three, or six months at the borrower’s option. SOFR based contracts may include a credit spread adjustment (the “Adjustment”) that is charged in addition to the stated spread. The Adjustment is applied when the SOFR rate, plus the Adjustment, exceeds the stated floor rate, as applicable. As of September 30, 2022, SOFR based contracts in the portfolio had Adjustments ranging from 0.10% to 0.26%.
[3] Index based floating interest rate is subject to contractual minimum interest rate. As noted in this schedule, 70% of the loans (based on the par amount) contain LIBOR or Term SOFR (“SOFR”) floors which range between 0.50% and 2.00%, with a weighted-average floor of 1.06%.
[4] The position is unfunded and no interest income is being earned as of September 30, 2022. The position may earn a nominal unused facility fee on committed amounts.
[5] Middle Market portfolio investment. See Note C—Fair Value Hierarchy for Investments—Portfolio Composition for a description of Middle Market portfolio investments.
[6] Index based floating interest rate is subject to contractual minimum interest rate. As noted in this schedule, 67% of the loans (based on the par amount) contain LIBOR floors which range between 0.50% and 2.00%, with a weighted-average LIBOR floor of 1.06%.
[7] Private Loan portfolio investment. See Note C—Fair Value Hierarchy for Investments—Portfolio Composition for a description of Private Loan portfolio investments.
[8] Middle Market portfolio investment. See Note C—Fair Value Hierarchy for Investments—Portfolio Composition for a description of Middle Market portfolio investments.
[9] Non-accrual and non-income producing investment.
[10] Non-accrual and non-income producing investment.
[11] Maturity date is under on-going negotiations with the portfolio company and other lenders, if applicable.
[12] The Company has entered into an intercreditor agreement that entitles the Company to the “last out” tranche of the first lien secured loans, whereby the “first out” tranche will receive priority as to the “last out” tranche with respect to payments of principal, interest, and any other amounts due thereunder. Therefore, the Company receives a higher interest rate than the contractual stated interest rate of Prime plus 5.10% (Floor 2.00%) per the credit agreement and the Consolidated Schedule of Investments above reflects such higher rate.
[13] The Company has entered into an intercreditor agreement that entitles the Company to the “last out” tranche of the first lien secured loans, whereby the “first out” tranche will receive priority as to the “last out” tranche with respect to payments of principal, interest, and any other amounts due thereunder. Therefore, the Company receives a higher interest rate than the contractual stated interest rate of LIBOR plus 7.25% (Floor 1.25%) per the credit agreement and the Consolidated Schedule of Investments above reflects such higher rate.
[14] Income producing through dividends or distributions.
[15] Maturity date is under on-going negotiations with the portfolio company and other lenders, if applicable.
[16] Shares/Units represent ownership in a related Real Estate or HoldCo entity.
[17] Income producing through dividends or distributions.
[18] Shares/Units represent ownership in a related Real Estate or HoldCo entity.
[19] The security has an effective contractual interest rate of 2.00% PIK + LIBOR+6.50%, Floor 1.00%, but the issuer may, in its discretion, elect to pay the PIK interest in cash. The rate presented represents the effective current yield based on actual payments received during the period.
[20] The security has an effective contractual interest rate of 2.00% PIK + LIBOR+6.50%, Floor 1.00%, but the issuer may, in its discretion, elect to pay the PIK interest in cash. The rate presented represents the effective current yield based on actual payments received during the period.
[21] As of September 30, 2022, borrowings under the loan facility bore interest at SOFR+6.25% (Floor 1.00%). Due to an amendment and subsequent funding during the quarter, the term loan facility has different floating rate reset dates. The rate presented represents a weighted-average rate for borrowings under the facility, as of September 30, 2022.
[22] The Company has entered into an intercreditor agreement that entitles the Company to the “last out” tranche of the first lien secured loans, whereby the “first out” tranche will receive priority as to the “last out” tranche with respect to payments of principal, interest, and any other amounts due thereunder. Therefore, the Company receives a higher interest rate than the contractual stated interest rate of LIBOR plus 7.96% (Floor 1.00%) per the credit agreement and the Consolidated Schedule of Investments above reflects such higher rate.
[23] Index based floating interest rate is subject to contractual maximum index rate of 1.50% as of September 30, 2022.
[24] Index based floating interest rate is subject to contractual maximum index rate of 1.50% as of December 31, 2021.
[25] Investment is not a qualifying asset as defined under Section 55(a) of the 1940 Act. Qualifying assets must represent at least 70% of total assets at the time of acquisition of any additional non-qualifying assets.
[26] Portfolio company headquarters are located outside of the United States.
[27] Investment is not a qualifying asset as defined under Section 55(a) of the 1940 Act. Qualifying assets must represent at least 70% of total assets at the time of acquisition of any additional non-qualifying assets.
[28] Portfolio company headquarters are located outside of the United States.
[29] As of December 31, 2021, borrowings under the loan facility bore interest at LIBOR+6.00% or Prime+5.00%. Delayed draw term loan facility permits the borrower to make an interest rate election on each new tranche of borrowings under the facility. The rate presented represents a weighted-average rate for borrowings under the facility.
[30] As of September 30, 2022, borrowings under the loan facility bore interest at LIBOR+6.50% PIK or Prime+5.50% PIK. Revolving facility permits the borrower to make an interest rate election regarding the base rate on each draw under the facility. The rate presented represents a weighted-average rate for borrowings under the facility, as of September 30, 2022.
[31] As of September 30, 2022, borrowings under the loan facility bore interest at SOFR+6.00% (Floor 1.00%) . Delayed draw term loan facility permits the borrower to make an interest rate election regarding the base rate on each draw under the facility. The rate presented represents a weighted-average rate for borrowings under the facility, as of September 30, 2022.
[32] Other Portfolio investment. See Note C—Fair Value Hierarchy for Investments—Portfolio Composition for a description of Other Portfolio investments.
[33] Portfolio company is in a bankruptcy process and, as such, the maturity date of our debt investment in this portfolio company will not be finally determined until such process is complete. As noted in footnote (14), our debt investment in this portfolio company is on non-accrual status.
[34] Portfolio company is in a bankruptcy process and, as such, the maturity date of our debt investment in this portfolio company will not be finally determined until such process is complete. As noted in footnote (14), our debt investment in this portfolio company is on non-accrual status.
[35] In connection with the Company's debt investment in Staples Canada ULC and in an attempt to mitigate any potential adverse change in foreign exchange rates during the term of the Company’s investment, the Company maintains a forward foreign currency contract with Cadence Bank to lend $17.6 million Canadian Dollars and receive $13.6 million U.S. Dollars with a settlement date of September 14, 2023. The unrealized appreciation on the forward foreign currency contract was $0.8 million as of September 30, 2022.
[36] In connection with the Company's debt investment in Staples Canada ULC and in an attempt to mitigate any potential adverse change in foreign exchange rates during the term of the Company's investment, the Company maintains a forward foreign currency contract with Cadence Bank to lend $21.4 million Canadian Dollars and receive $16.9 million U.S. Dollars with a settlement date of September 14, 2022. The unrealized depreciation on the forward foreign currency contract was not significant as of December 31, 2021.
[37] Short-term portfolio investments. See Note C—Fair Value Hierarchy for Investments—Portfolio Composition for a description of short-term portfolio investments.
[38] Short-term portfolio investments. See Note C—Fair Value Hierarchy for Investments—Portfolio Composition for a description of short-term portfolio investments.
[39] As of September 30, 2022, borrowings under the loan facility bore interest at SOFR+7.25% (Floor 1.00%). Each new draw on the delayed draw term loan facility has a different floating rate reset date. The rate presented represents a weighted-average rate for borrowings under the facility, as of September 30, 2022.