XML 61 R44.htm IDEA: XBRL DOCUMENT
v3.23.1

INVESTMENTS - Investment Portfolio, at Fair Value and Cost (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Mar. 31, 2023 | Mar. 31, 2022
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 1,206,388 | [1],[2],[3] | $ 936,614 | [4],[5],[6]
Percent of net assets | 204.30% | [1],[2] | 222.50% |
Cost | $ 1,220,152 | [1],[2],[7],[8] | $ 938,303 | [4],[5],[9],[10]
Percentage of Total Portfolio at Fair Value | Investment Type |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 100.00% |  | 100.00% |
Percentage of Total Portfolio at Fair Value | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 100.00% |  | 100.00% |
Percentage of Total Portfolio at Fair Value | Geographic |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 100.00% |  | 100.00% |
Percentage of Total Portfolio at Cost | Investment Type |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 100.00% |  | 100.00% |
Percentage of Total Portfolio at Cost | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 100.00% |  | 100.00% |
Percentage of Total Portfolio at Cost | Geographic |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 100.00% |  | 100.00% |
First lien loans |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 1,000,984 |  | $ 739,872 |
Percent of net assets | 169.50% |  | 175.80% |
Cost | $ 1,018,595 |  | $ 745,290 |
First lien loans | Percentage of Total Portfolio at Fair Value | Investment Type |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 83.00% |  | 79.00% |
First lien loans | Percentage of Total Portfolio at Cost | Investment Type |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 83.50% |  | 79.40% |
Second lien loans |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 35,820 |  | $ 52,645 |
Percent of net assets | 6.10% |  | 12.50% |
Cost | $ 44,038 |  | $ 55,976 |
Second lien loans | Percentage of Total Portfolio at Fair Value | Investment Type |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 3.00% |  | 5.60% |
Second lien loans | Percentage of Total Portfolio at Cost | Investment Type |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 3.60% |  | 6.00% |
Subordinated debt |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 791 |  | $ 1,317 |
Percent of net assets | 0.10% |  | 0.30% |
Cost | $ 763 |  | $ 994 |
Subordinated debt | Percentage of Total Portfolio at Fair Value | Investment Type |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 0.10% |  | 0.10% |
Subordinated debt | Percentage of Total Portfolio at Cost | Investment Type |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 0.10% |  | 0.10% |
Preferred equity |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 63,393 |  | $ 44,663 |
Percent of net assets | 10.70% |  | 10.60% |
Cost | $ 43,634 |  | $ 25,544 |
Preferred equity | Percentage of Total Portfolio at Fair Value | Investment Type |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 5.20% |  | 4.80% |
Preferred equity | Percentage of Total Portfolio at Cost | Investment Type |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 3.60% |  | 2.70% |
Common equity & warrants |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 54,144 |  | $ 40,514 |
Percent of net assets | 9.20% |  | 9.60% |
Cost | $ 32,322 |  | $ 34,499 |
Common equity & warrants | Percentage of Total Portfolio at Fair Value | Investment Type |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 4.50% |  | 4.30% |
Common equity & warrants | Percentage of Total Portfolio at Cost | Investment Type |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 2.60% |  | 3.70% |
I-45 SLF LLC |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 51,256 |  | $ 57,603 |
Percent of net assets | 8.70% |  | 13.70% |
Cost | $ 80,800 |  | $ 76,000 |
I-45 SLF LLC | Percentage of Total Portfolio at Fair Value | Investment Type |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 4.20% |  | 6.20% |
I-45 SLF LLC | Percentage of Total Portfolio at Cost | Investment Type |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 6.60% |  | 8.10% |
Southeast |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 235,782 |  | $ 136,588 |
Percent of net assets | 39.90% |  | 32.50% |
Cost | $ 236,333 |  | $ 138,929 |
Southeast | Percentage of Total Portfolio at Fair Value | Geographic |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 19.50% |  | 14.60% |
Southeast | Percentage of Total Portfolio at Cost | Geographic |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 19.40% |  | 14.90% |
Northeast |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 269,569 |  | $ 225,578 |
Percent of net assets | 45.70% |  | 53.60% |
Cost | $ 255,995 |  | $ 221,780 |
Northeast | Percentage of Total Portfolio at Fair Value | Geographic |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 22.30% |  | 24.10% |
Northeast | Percentage of Total Portfolio at Cost | Geographic |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 21.00% |  | 23.60% |
West |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 233,079 |  | $ 163,924 |
Percent of net assets | 39.50% |  | 38.90% |
Cost | $ 232,109 |  | $ 153,292 |
West | Percentage of Total Portfolio at Fair Value | Geographic |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 19.30% |  | 17.50% |
West | Percentage of Total Portfolio at Cost | Geographic |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 19.00% |  | 16.30% |
Southwest |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 234,127 |  | $ 206,057 |
Percent of net assets | 39.60% |  | 49.00% |
Cost | $ 231,467 |  | $ 204,443 |
Southwest | Percentage of Total Portfolio at Fair Value | Geographic |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 19.40% |  | 22.00% |
Southwest | Percentage of Total Portfolio at Cost | Geographic |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 19.00% |  | 21.80% |
Midwest |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 156,233 |  | $ 132,308 |
Percent of net assets | 26.40% |  | 31.40% |
Cost | $ 158,989 |  | $ 129,354 |
Midwest | Percentage of Total Portfolio at Fair Value | Geographic |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 13.10% |  | 14.10% |
Midwest | Percentage of Total Portfolio at Cost | Geographic |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 13.00% |  | 13.80% |
I-45 SLF LLC |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 51,256 |  | $ 57,603 |
Percent of net assets | 8.70% |  | 13.70% |
Cost | $ 80,800 |  | $ 76,000 |
I-45 SLF LLC | Percentage of Total Portfolio at Fair Value | Geographic |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 4.20% |  | 6.10% |
I-45 SLF LLC | Percentage of Total Portfolio at Cost | Geographic |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 6.60% |  | 8.10% |
International |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 26,342 |  | $ 14,556 |
Percent of net assets | 4.50% |  | 3.40% |
Cost | $ 24,459 |  | $ 14,505 |
International | Percentage of Total Portfolio at Fair Value | Geographic |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 2.20% |  | 1.60% |
International | Percentage of Total Portfolio at Cost | Geographic |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 2.00% |  | 1.50% |
Media & Marketing |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 149,357 |  | $ 43,463 |
Percent of net assets | 25.30% |  | 10.30% |
Cost | $ 139,750 |  | $ 33,049 |
Media & Marketing | Percentage of Total Portfolio at Fair Value | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 12.40% |  | 4.60% |
Media & Marketing | Percentage of Total Portfolio at Cost | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 11.50% |  | 3.50% |
Business Services |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 146,727 |  | $ 123,697 |
Percent of net assets | 24.90% |  | 29.40% |
Cost | $ 147,056 |  | $ 124,860 |
Business Services | Percentage of Total Portfolio at Fair Value | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 12.20% |  | 13.20% |
Business Services | Percentage of Total Portfolio at Cost | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 12.10% |  | 13.30% |
Healthcare Services |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 126,971 |  | $ 88,131 |
Percent of net assets | 21.50% |  | 21.00% |
Cost | $ 143,455 |  | $ 96,946 |
Healthcare Services | Percentage of Total Portfolio at Fair Value | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 10.50% |  | 9.40% |
Healthcare Services | Percentage of Total Portfolio at Cost | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 11.80% |  | 10.30% |
Consumer Services |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 91,913 |  | $ 71,730 |
Percent of net assets | 15.60% |  | 17.00% |
Cost | $ 91,142 |  | $ 71,203 |
Consumer Services | Percentage of Total Portfolio at Fair Value | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 7.60% |  | 7.70% |
Consumer Services | Percentage of Total Portfolio at Cost | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 7.50% |  | 7.60% |
Consumer Products and Retail |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 86,385 |  | $ 90,457 |
Percent of net assets | 14.60% |  | 21.50% |
Cost | $ 86,607 |  | $ 88,375 |
Consumer Products and Retail | Percentage of Total Portfolio at Fair Value | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 7.20% |  | 9.70% |
Consumer Products and Retail | Percentage of Total Portfolio at Cost | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 7.10% |  | 9.40% |
Food, Agriculture & Beverage |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 68,833 |  | $ 48,876 |
Percent of net assets | 11.70% |  | 11.60% |
Cost | $ 73,223 |  | $ 47,057 |
Food, Agriculture & Beverage | Percentage of Total Portfolio at Fair Value | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 5.70% |  | 5.20% |
Food, Agriculture & Beverage | Percentage of Total Portfolio at Cost | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 6.00% |  | 5.00% |
Healthcare Products |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 66,355 |  | $ 32,054 |
Percent of net assets | 11.20% |  | 7.60% |
Cost | $ 67,555 |  | $ 33,018 |
Healthcare Products | Percentage of Total Portfolio at Fair Value | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 5.50% |  | 3.40% |
Healthcare Products | Percentage of Total Portfolio at Cost | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 5.50% |  | 3.50% |
Technology Products & Components |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 59,718 |  | $ 37,047 |
Percent of net assets | 10.10% |  | 8.80% |
Cost | $ 43,016 |  | $ 30,440 |
Technology Products & Components | Percentage of Total Portfolio at Fair Value | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 5.00% |  | 4.00% |
Technology Products & Components | Percentage of Total Portfolio at Cost | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 3.50% |  | 3.30% |
I-45 SLF LLC |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 51,256 |  | $ 57,603 |
Percent of net assets | 8.70% |  | 13.70% |
Cost | $ 80,800 |  | $ 76,000 |
I-45 SLF LLC | Percentage of Total Portfolio at Fair Value | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 4.20% |  | 6.20% |
I-45 SLF LLC | Percentage of Total Portfolio at Cost | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 6.60% |  | 8.10% |
Transportation & Logistics |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 48,494 |  | $ 34,038 |
Percent of net assets | 8.20% |  | 8.10% |
Cost | $ 42,049 |  | $ 29,513 |
Transportation & Logistics | Percentage of Total Portfolio at Fair Value | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 4.00% |  | 3.60% |
Transportation & Logistics | Percentage of Total Portfolio at Cost | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 3.40% |  | 3.10% |
Software & IT Services |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 47,641 |  | $ 33,414 |
Percent of net assets | 8.10% |  | 7.90% |
Cost | $ 47,563 |  | $ 34,866 |
Software & IT Services | Percentage of Total Portfolio at Fair Value | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 3.90% |  | 3.60% |
Software & IT Services | Percentage of Total Portfolio at Cost | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 3.90% |  | 3.70% |
Financial Services |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 40,420 |  | $ 39,305 |
Percent of net assets | 6.80% |  | 9.30% |
Cost | $ 30,950 |  | $ 31,229 |
Financial Services | Percentage of Total Portfolio at Fair Value | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 3.30% |  | 4.20% |
Financial Services | Percentage of Total Portfolio at Cost | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 2.50% |  | 3.30% |
Industrial Products |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 32,518 |  | $ 13,891 |
Percent of net assets | 5.50% |  | 3.30% |
Cost | $ 25,827 |  | $ 13,901 |
Industrial Products | Percentage of Total Portfolio at Fair Value | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 2.70% |  | 1.50% |
Industrial Products | Percentage of Total Portfolio at Cost | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 2.10% |  | 1.50% |
Environmental Services |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 29,753 |  | $ 20,641 |
Percent of net assets | 5.00% |  | 4.90% |
Cost | $ 34,869 |  | $ 23,108 |
Environmental Services | Percentage of Total Portfolio at Fair Value | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 2.50% |  | 2.20% |
Environmental Services | Percentage of Total Portfolio at Cost | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 2.90% |  | 2.50% |
Education |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 26,357 |  | $ 32,072 |
Percent of net assets | 4.50% |  | 7.60% |
Cost | $ 25,995 |  | $ 32,119 |
Education | Percentage of Total Portfolio at Fair Value | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 2.20% |  | 3.40% |
Education | Percentage of Total Portfolio at Cost | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 2.10% |  | 3.40% |
Industrial Services |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 25,460 |  | $ 11,614 |
Percent of net assets | 4.30% |  | 2.80% |
Cost | $ 24,920 |  | $ 11,451 |
Industrial Services | Percentage of Total Portfolio at Fair Value | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 2.10% |  | 1.20% |
Industrial Services | Percentage of Total Portfolio at Cost | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 2.00% |  | 1.20% |
Energy Services (Midstream) |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 22,829 |  | $ 13,465 |
Percent of net assets | 3.90% |  | 3.20% |
Cost | $ 23,337 |  | $ 13,582 |
Energy Services (Midstream) | Percentage of Total Portfolio at Fair Value | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 1.90% |  | 1.40% |
Energy Services (Midstream) | Percentage of Total Portfolio at Cost | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 1.90% |  | 1.50% |
Specialty Chemicals |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 17,839 |  | $ 17,749 |
Percent of net assets | 3.00% |  | 4.20% |
Cost | $ 17,531 |  | $ 17,640 |
Specialty Chemicals | Percentage of Total Portfolio at Fair Value | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 1.50% |  | 1.90% |
Specialty Chemicals | Percentage of Total Portfolio at Cost | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 1.40% |  | 1.90% |
Energy Services (Upstream) |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 17,730 |  | $ 17,910 |
Percent of net assets | 3.00% |  | 4.30% |
Cost | $ 17,402 |  | $ 17,500 |
Energy Services (Upstream) | Percentage of Total Portfolio at Fair Value | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 1.50% |  | 1.90% |
Energy Services (Upstream) | Percentage of Total Portfolio at Cost | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 1.40% |  | 1.90% |
Telecommunications |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 17,386 |  | $ 18,736 |
Percent of net assets | 2.90% |  | 4.50% |
Cost | $ 21,796 |  | $ 22,341 |
Telecommunications | Percentage of Total Portfolio at Fair Value | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 1.40% |  | 2.00% |
Telecommunications | Percentage of Total Portfolio at Cost | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 1.90% |  | 2.40% |
Distribution |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 16,315 |  | $ 54,798 |
Percent of net assets | 2.80% |  | 13.00% |
Cost | $ 18,755 |  | $ 54,035 |
Distribution | Percentage of Total Portfolio at Fair Value | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 1.40% |  | 5.90% |
Distribution | Percentage of Total Portfolio at Cost | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 1.50% |  | 5.80% |
Containers & Packaging |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 10,131 |  | $ 10,671 |
Percent of net assets | 1.70% |  | 2.50% |
Cost | $ 10,656 |  | $ 10,723 |
Containers & Packaging | Percentage of Total Portfolio at Fair Value | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 0.80% |  | 1.10% |
Containers & Packaging | Percentage of Total Portfolio at Cost | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 0.90% |  | 1.10% |
Aerospace & Defense |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 6,000 |  | $ 6,800 |
Percent of net assets | 1.00% |  | 1.60% |
Cost | $ 5,898 |  | $ 6,672 |
Aerospace & Defense | Percentage of Total Portfolio at Fair Value | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 0.50% |  | 0.70% |
Aerospace & Defense | Percentage of Total Portfolio at Cost | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio | 0.50% |  | 0.70% |
Commodities & Mining |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value |  |  | $ 10,877 |
Percent of net assets |  |  | 2.60% |
Cost |  |  | $ 11,135 |
Commodities & Mining | Percentage of Total Portfolio at Fair Value | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio |  |  | 1.20% |
Commodities & Mining | Percentage of Total Portfolio at Cost | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio |  |  | 1.20% |
Restaurants |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value |  |  | $ 5,367 |
Percent of net assets |  |  | 1.30% |
Cost |  |  | $ 4,556 |
Restaurants | Percentage of Total Portfolio at Fair Value | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio |  |  | 0.60% |
Restaurants | Percentage of Total Portfolio at Cost | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio |  |  | 0.50% |
Paper & Forest Products |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value |  |  | $ 2,208 |
Percent of net assets |  |  | 0.50% |
Cost |  |  | $ 2,984 |
Paper & Forest Products | Percentage of Total Portfolio at Fair Value | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio |  |  | 0.20% |
Paper & Forest Products | Percentage of Total Portfolio at Cost | Industry |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Percentage of Total Portfolio |  |  | 0.30% |
First lien last out loans |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 50,100 |  | $ 38,600 |
Split lien term loans included in first lien loans |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | 45,000 |  | 36,400 |
Split lien term loans included in second lien loans |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | 20,200 |  | 33,900 |
Unsecured convertible Note |  |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |  |
Investments at fair value | $ 400 |  | $ 700 |
[1] | All debt investments are income-producing, unless otherwise noted. Equity investments are non-income producing, unless otherwise noted.
[2] | Equity ownership may be held in shares or units of a company that is either wholly owned by the portfolio company or under common control by the same parent company to the portfolio company.
[3] | The Company's investment portfolio is comprised entirely of debt and equity securities of privately held companies for which quoted prices falling within the categories of Level 1 and Level 2 inputs are not readily available. Therefore, the Company values all of its portfolio investments at fair value, as determined in good faith by the Board of Directors, using significant unobservable Level 3 inputs. Refer to Note 4 - Fair Value Measurements for further discussion.
[4] | All debt investments are income-producing, unless otherwise noted. Equity investments and warrants are non-income producing, unless otherwise noted.
[5] | Equity ownership may be held in shares or units of a company that is either wholly owned by the portfolio company or under common control by the same parent company to the portfolio company.
[6] | The Company's investment portfolio is comprised entirely of debt and equity securities of privately held companies for which quoted prices falling within the categories of Level 1 and Level 2 inputs are not readily available. Therefore, the Company values all of its portfolio investments at fair value, as determined in good faith by the Board of Directors, using significant unobservable Level 3 inputs. Refer to Note 4 for further discussion.
[7] | As of March 31, 2023, the cumulative gross unrealized appreciation for U.S. federal income tax purposes was approximately $72.3 million; cumulative gross unrealized depreciation for federal income tax purposes was $76.8 million. Cumulative net unrealized depreciation was $4.5 million, based on a tax cost of $1,210.8 million.
[8] | Negative cost in this column represents the original issue discount of certain undrawn revolvers and delayed draw term loans.
[9] | As of March 31, 2022, the cumulative gross unrealized appreciation for U.S. federal income tax purposes is approximately $67.8 million; cumulative gross unrealized depreciation for federal income tax purposes is $61.7 million. Cumulative net unrealized appreciation is $6.1 million, based on a tax cost of $852.4 million.
[10] | Represents amortized cost. Negative cost in this column represents the original issue discount of certain undrawn revolvers and delayed draw term loans.

X
- Definition For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the "benchmark" (or denominator) in the equation, this concept represents the concentration percentage derived from the division. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 42 -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e9054-108599 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 18 -URI https://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 20 -URI https://asc.fasb.org/extlink&oid=123594938&loc=d3e13531-108611 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 21 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123594938&loc=d3e13537-108611 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 20 -URI https://asc.fasb.org/extlink&oid=99393423&loc=d3e6404-108592 + Details
Name: | us-gaap_ConcentrationRiskPercentage1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Cost of the investment. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 210 -Section 50 -Paragraph 6 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=99383244&loc=d3e12121-115841 + Details
Name: | us-gaap_InvestmentOwnedAtCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Value of the investment at close of period. For schedules of investments that are categorized, the value would be aggregated by category. For investment in and advances to affiliates, if operations of any controlled companies are different in character from those of the company, group such affiliates within divisions and by type of activities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 210 -Section 50 -Paragraph 6 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=99383244&loc=d3e12121-115841 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 320 -Section S99 -Paragraph 5D -Subparagraph (SX 210.12-13D(Column C)) -URI https://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 320 -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)) -URI https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010 + Details
Name: | us-gaap_InvestmentOwnedAtFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Percent of net assets at close of period. For schedules of investments that are categorized, each category has a percent of net assets for the aggregated value of the Investments in the category. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 320 -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column D)) -URI https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 210 -Section 50 -Paragraph 6 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=99383244&loc=d3e12121-115841 + Details
Name: | us-gaap_InvestmentOwnedPercentOfNetAssets
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_ConcentrationRiskByBenchmarkAxis=cswc_InvestmentOwnedFairValueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByTypeAxis=cswc_InvestmentTypeConcentrationRiskMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByTypeAxis=cswc_IndustryConcentrationRiskMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByTypeAxis=us-gaap_GeographicConcentrationRiskMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByBenchmarkAxis=cswc_InvestmentOwnedCostMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=cswc_DebtSecuritiesFirstLienMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=cswc_DebtSecuritiesSecondLienMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_SubordinatedDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_PreferredStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=cswc_CommonEquityWarrantsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=cswc_JointVentureInvestmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=us-gaap-supplement_SoutheastRegionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=us-gaap-supplement_NortheastRegionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=us-gaap-supplement_WestRegionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=us-gaap-supplement_SouthwestRegionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=us-gaap-supplement_MidwestRegionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=cswc_DiverseSetOfGeographicRegionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=us-gaap_NonUsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EquitySecuritiesByIndustryAxis=cswc_MediaAndMarketingSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EquitySecuritiesByIndustryAxis=cswc_BusinessServicesSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EquitySecuritiesByIndustryAxis=cswc_HealthcareServicesSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EquitySecuritiesByIndustryAxis=cswc_ConsumerServicesSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EquitySecuritiesByIndustryAxis=cswc_ConsumerProductsAndRetailSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EquitySecuritiesByIndustryAxis=cswc_FoodAgricultureAndBeverageSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EquitySecuritiesByIndustryAxis=cswc_HealthcareProductsSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EquitySecuritiesByIndustryAxis=us-gaap_TechnologySectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EquitySecuritiesByIndustryAxis=cswc_JointVentureInvestmentsVariousIndustrySectorsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EquitySecuritiesByIndustryAxis=us-gaap-supplement_TransportationSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EquitySecuritiesByIndustryAxis=cswc_SoftwareAndITServicesSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EquitySecuritiesByIndustryAxis=us-gaap_FinancialServicesSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EquitySecuritiesByIndustryAxis=cswc_IndustrialProductsSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EquitySecuritiesByIndustryAxis=cswc_EnvironmentalServicesSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EquitySecuritiesByIndustryAxis=cswc_EducationSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EquitySecuritiesByIndustryAxis=cswc_IndustrialServicesSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EquitySecuritiesByIndustryAxis=cswc_EnergyServicesMidstreamSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EquitySecuritiesByIndustryAxis=us-gaap-supplement_ChemicalsSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EquitySecuritiesByIndustryAxis=cswc_EnergyServicesUpstreamSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EquitySecuritiesByIndustryAxis=cswc_TelecommunicationsSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EquitySecuritiesByIndustryAxis=cswc_DistributionSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EquitySecuritiesByIndustryAxis=us-gaap-supplement_ContainerAndPackagingSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EquitySecuritiesByIndustryAxis=cswc_AerospaceAndDefenseSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EquitySecuritiesByIndustryAxis=cswc_CommoditiesMiningSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EquitySecuritiesByIndustryAxis=cswc_RestaurantsSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EquitySecuritiesByIndustryAxis=cswc_PaperAndForestProductsSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=cswc_FirstLienLoansLastOutMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=cswc_FirstLienLoansSplitLienTermLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=cswc_SecondLienLoansSplitLienTermLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=cswc_UnsecuredConvertibleNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |