XML 52 R42.htm IDEA: XBRL DOCUMENT
v3.23.3

FAIR VALUE MEASUREMENTS - Measurement Inputs and Valuation Techniques (Details) $ in Thousands | Sep. 30, 2023 USD ($) | Mar. 31, 2023 USD ($)
--- | --- | ---
Fair Value |  |  |  |
Investments at fair value | $ 1,353,566 | [1],[2],[3] | $ 1,206,388 | [4],[5],[6]
Significant Unobservable Inputs (Level 3) |  |  |  |
Fair Value |  |  |  |
Investments at fair value | 1,300,144 |  |  |
Significant Unobservable Inputs (Level 3) | First lien loans | Income Approach |  |  |  |
Fair Value |  |  |  |
Investments at fair value | $ 1,086,345 |  | $ 953,918 |
Significant Unobservable Inputs (Level 3) | First lien loans | Income Approach | Minimum | Discount Rate |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 0.058 |  | 0.069 |
Significant Unobservable Inputs (Level 3) | First lien loans | Income Approach | Minimum | Third Party Broker Quote |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 94.0 |  | 5.1 |
Significant Unobservable Inputs (Level 3) | First lien loans | Income Approach | Maximum | Discount Rate |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 0.454 |  | 0.262 |
Significant Unobservable Inputs (Level 3) | First lien loans | Income Approach | Maximum | Third Party Broker Quote |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 94.0 |  | 96.5 |
Significant Unobservable Inputs (Level 3) | First lien loans | Income Approach | Weighted Average | Discount Rate |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 0.136 |  | 0.130 |
Significant Unobservable Inputs (Level 3) | First lien loans | Income Approach | Weighted Average | Third Party Broker Quote |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 94.0 |  | 93.9 |
Significant Unobservable Inputs (Level 3) | First lien loans | Market Approach |  |  |  |
Fair Value |  |  |  |
Investments at fair value | $ 54,935 |  | $ 41,923 |
Significant Unobservable Inputs (Level 3) | First lien loans | Market Approach | Minimum | Cost |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 98.0 |  | 94.1 |
Significant Unobservable Inputs (Level 3) | First lien loans | Market Approach | Maximum | Cost |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 98.5 |  | 98.1 |
Significant Unobservable Inputs (Level 3) | First lien loans | Market Approach | Weighted Average | Cost |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 98.1 |  | 97.9 |
Significant Unobservable Inputs (Level 3) | First lien loans | Enterprise Value Waterfall Approach |  |  |  |
Fair Value |  |  |  |
Investments at fair value |  |  | $ 5,143 |
Significant Unobservable Inputs (Level 3) | First lien loans | Enterprise Value Waterfall Approach | Minimum | Discount Rate |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input |  |  | 0.272 |
Significant Unobservable Inputs (Level 3) | First lien loans | Enterprise Value Waterfall Approach | Minimum | EBITDA Multiple |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input |  |  | 9.4 |
Significant Unobservable Inputs (Level 3) | First lien loans | Enterprise Value Waterfall Approach | Maximum | Discount Rate |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input |  |  | 0.272 |
Significant Unobservable Inputs (Level 3) | First lien loans | Enterprise Value Waterfall Approach | Maximum | EBITDA Multiple |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input |  |  | 9.4 |
Significant Unobservable Inputs (Level 3) | First lien loans | Enterprise Value Waterfall Approach | Weighted Average | Discount Rate |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input |  |  | 0.272 |
Significant Unobservable Inputs (Level 3) | First lien loans | Enterprise Value Waterfall Approach | Weighted Average | EBITDA Multiple |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input |  |  | 9.4 |
Significant Unobservable Inputs (Level 3) | Second lien loans | Income Approach |  |  |  |
Fair Value |  |  |  |
Investments at fair value | $ 37,034 |  | $ 32,226 |
Significant Unobservable Inputs (Level 3) | Second lien loans | Income Approach | Minimum | Discount Rate |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 0.132 |  | 0.183 |
Significant Unobservable Inputs (Level 3) | Second lien loans | Income Approach | Minimum | Third Party Broker Quote |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 52.5 |  | 61.3 |
Significant Unobservable Inputs (Level 3) | Second lien loans | Income Approach | Maximum | Discount Rate |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 0.314 |  | 0.343 |
Significant Unobservable Inputs (Level 3) | Second lien loans | Income Approach | Maximum | Third Party Broker Quote |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 52.5 |  | 61.3 |
Significant Unobservable Inputs (Level 3) | Second lien loans | Income Approach | Weighted Average | Discount Rate |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 0.221 |  | 0.251 |
Significant Unobservable Inputs (Level 3) | Second lien loans | Income Approach | Weighted Average | Third Party Broker Quote |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 52.5 |  | 61.3 |
Significant Unobservable Inputs (Level 3) | Second lien loans | Enterprise Value Waterfall Approach |  |  |  |
Fair Value |  |  |  |
Investments at fair value |  |  | $ 3,594 |
Significant Unobservable Inputs (Level 3) | Second lien loans | Enterprise Value Waterfall Approach | Minimum | Discount Rate |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input |  |  | 0.272 |
Significant Unobservable Inputs (Level 3) | Second lien loans | Enterprise Value Waterfall Approach | Minimum | EBITDA Multiple |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input |  |  | 9.4 |
Significant Unobservable Inputs (Level 3) | Second lien loans | Enterprise Value Waterfall Approach | Maximum | Discount Rate |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input |  |  | 0.272 |
Significant Unobservable Inputs (Level 3) | Second lien loans | Enterprise Value Waterfall Approach | Maximum | EBITDA Multiple |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input |  |  | 9.4 |
Significant Unobservable Inputs (Level 3) | Second lien loans | Enterprise Value Waterfall Approach | Weighted Average | Discount Rate |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input |  |  | 0.272 |
Significant Unobservable Inputs (Level 3) | Second lien loans | Enterprise Value Waterfall Approach | Weighted Average | EBITDA Multiple |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input |  |  | 9.4 |
Significant Unobservable Inputs (Level 3) | Subordinated debt | Market Approach |  |  |  |
Fair Value |  |  |  |
Investments at fair value | $ 202 |  | $ 205 |
Significant Unobservable Inputs (Level 3) | Subordinated debt | Market Approach | Minimum | Cost |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 100.0 |  | 100.0 |
Significant Unobservable Inputs (Level 3) | Subordinated debt | Market Approach | Maximum | Cost |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 100.0 |  | 100.0 |
Significant Unobservable Inputs (Level 3) | Subordinated debt | Market Approach | Weighted Average | Cost |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 1.000 |  | 100.0 |
Significant Unobservable Inputs (Level 3) | Subordinated debt | Enterprise Value Waterfall Approach |  |  |  |
Fair Value |  |  |  |
Investments at fair value | $ 558 |  | $ 586 |
Significant Unobservable Inputs (Level 3) | Subordinated debt | Enterprise Value Waterfall Approach | Minimum | Discount Rate |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 0.148 |  | 0.202 |
Significant Unobservable Inputs (Level 3) | Subordinated debt | Enterprise Value Waterfall Approach | Minimum | EBITDA Multiple |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 6.0 |  | 6.0 |
Significant Unobservable Inputs (Level 3) | Subordinated debt | Enterprise Value Waterfall Approach | Maximum | Discount Rate |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 0.253 |  | 0.250 |
Significant Unobservable Inputs (Level 3) | Subordinated debt | Enterprise Value Waterfall Approach | Maximum | EBITDA Multiple |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 7.7 |  | 7.7 |
Significant Unobservable Inputs (Level 3) | Subordinated debt | Enterprise Value Waterfall Approach | Weighted Average | Discount Rate |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 0.181 |  | 0.218 |
Significant Unobservable Inputs (Level 3) | Subordinated debt | Enterprise Value Waterfall Approach | Weighted Average | EBITDA Multiple |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 6.5 |  | 6.6 |
Significant Unobservable Inputs (Level 3) | Preferred equity | Market Approach |  |  |  |
Fair Value |  |  |  |
Investments at fair value | $ 2,000 |  | $ 3,875 |
Significant Unobservable Inputs (Level 3) | Preferred equity | Market Approach | Minimum | Cost |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 100.0 |  | 100.0 |
Significant Unobservable Inputs (Level 3) | Preferred equity | Market Approach | Maximum | Cost |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 100.0 |  | 100.0 |
Significant Unobservable Inputs (Level 3) | Preferred equity | Market Approach | Weighted Average | Cost |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 100.0 |  | 100.0 |
Significant Unobservable Inputs (Level 3) | Preferred equity | Enterprise Value Waterfall Approach |  |  |  |
Fair Value |  |  |  |
Investments at fair value | $ 64,440 |  | $ 59,518 |
Significant Unobservable Inputs (Level 3) | Preferred equity | Enterprise Value Waterfall Approach | Minimum | Discount Rate |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 0.127 |  | 0.117 |
Significant Unobservable Inputs (Level 3) | Preferred equity | Enterprise Value Waterfall Approach | Minimum | EBITDA Multiple |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 4.8 |  | 4.7 |
Significant Unobservable Inputs (Level 3) | Preferred equity | Enterprise Value Waterfall Approach | Maximum | Discount Rate |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 0.309 |  | 0.308 |
Significant Unobservable Inputs (Level 3) | Preferred equity | Enterprise Value Waterfall Approach | Maximum | EBITDA Multiple |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 15.9 |  | 16.7 |
Significant Unobservable Inputs (Level 3) | Preferred equity | Enterprise Value Waterfall Approach | Weighted Average | Discount Rate |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 0.190 |  | 0.171 |
Significant Unobservable Inputs (Level 3) | Preferred equity | Enterprise Value Waterfall Approach | Weighted Average | EBITDA Multiple |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 9.9 |  | 9.8 |
Significant Unobservable Inputs (Level 3) | Common equity & warrants | Market Approach |  |  |  |
Fair Value |  |  |  |
Investments at fair value |  |  | $ 1,080 |
Significant Unobservable Inputs (Level 3) | Common equity & warrants | Market Approach | Minimum | Exit Value |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input |  |  | 100.0 |
Significant Unobservable Inputs (Level 3) | Common equity & warrants | Market Approach | Maximum | Exit Value |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input |  |  | 100.0 |
Significant Unobservable Inputs (Level 3) | Common equity & warrants | Market Approach | Weighted Average | Exit Value |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input |  |  | 100.0 |
Significant Unobservable Inputs (Level 3) | Common equity & warrants | Enterprise Value Waterfall Approach |  |  |  |
Fair Value |  |  |  |
Investments at fair value | $ 54,630 |  | $ 53,064 |
Significant Unobservable Inputs (Level 3) | Common equity & warrants | Enterprise Value Waterfall Approach | Minimum | Discount Rate |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 0.120 |  | 0.114 |
Significant Unobservable Inputs (Level 3) | Common equity & warrants | Enterprise Value Waterfall Approach | Minimum | EBITDA Multiple |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 5.2 |  | 5.5 |
Significant Unobservable Inputs (Level 3) | Common equity & warrants | Enterprise Value Waterfall Approach | Maximum | Discount Rate |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 0.268 |  | 0.366 |
Significant Unobservable Inputs (Level 3) | Common equity & warrants | Enterprise Value Waterfall Approach | Maximum | EBITDA Multiple |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 17.3 |  | 18.6 |
Significant Unobservable Inputs (Level 3) | Common equity & warrants | Enterprise Value Waterfall Approach | Weighted Average | Discount Rate |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 0.166 |  | 0.182 |
Significant Unobservable Inputs (Level 3) | Common equity & warrants | Enterprise Value Waterfall Approach | Weighted Average | EBITDA Multiple |  |  |  |
Fair​ Value Measurement Input |  |  |  |
Investments, measurement input | 9.1 |  | 9.5 |
[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 valuation committee comprised of certain officers of the Company (the "Valuation Committee") as the valuation designee of the Board of Directors (the "Valuation Designee") pursuant to Rule 2a-5 under the Investment Company Act of 1940, as amended (the “1940 Act”), 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 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 - Fair Value Measurements to our audited consolidated financial statements for further discussion.

X
- Definition Investment Owned, Fair Value, Measurement Input + References No definition available. + Details
Name: | cswc_InvestmentOwnedFairValueMeasurementInput
Namespace Prefix: | cswc_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant

X
- Definition Investments​ Fair​ Value ​Disclosure, Measurement Input [Abstract] + References No definition available. + Details
Name: | cswc_InvestmentsFairValueDisclosureMeasurementInputAbstract
Namespace Prefix: | cswc_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value of investment in security owned. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-6 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 55 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480493/946-210-55-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-6 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-6 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-1 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-1 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-1 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-1 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-2 Reference 10: http://www.xbrl.org/2003/role/exampleRef -Topic 946 -SubTopic 830 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480167/946-830-55-12 Reference 11: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480524/946-210-50-6 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(11)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479617/946-210-S99-1 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-03(d)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479886/946-10-S99-3 Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479617/946-210-S99-1 Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(2)(a)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479617/946-210-S99-1 Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(2)(b)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479617/946-210-S99-1 Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-1 Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column A)(Footnote 1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-1 Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)(Footnote 5)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-1 Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)(Footnote 6)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-1 Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-3 Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)(Footnote 2)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-3 Reference 23: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column A)(Footnote 6)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-3 Reference 24: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column A)(Footnote 7)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-3 Reference 25: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)(Footnote 9)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-3 Reference 26: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column F)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-6 Reference 27: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column A)(Footnote 1)(b)(2)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-6 Reference 28: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column A)(Footnote 1)(b)(5)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-6 Reference 29: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column F)(Footnote 4)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-6 Reference 30: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column F)(Footnote 7)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-6 + Details
Name: | us-gaap_InvestmentOwnedAtFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_InvestmentsFairValueDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_ValuationTechniqueAxis=us-gaap_IncomeApproachValuationTechniqueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=us-gaap_MeasurementInputDiscountRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=us-gaap_MeasurementInputQuotedPriceMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_WeightedAverageMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ValuationTechniqueAxis=us-gaap_MarketApproachValuationTechniqueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=cswc_MeasurementInputCostMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ValuationTechniqueAxis=cswc_ValuationEnterpriseValueWaterfallApproachMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=us-gaap_MeasurementInputEbitdaMultipleMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=us-gaap_MeasurementInputCostToSellMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |