v3.25.4

FAIR VALUE MEASUREMENTS - Investment Portfolio by Level (Details) - USD ($) $ in Thousands | Dec. 31, 2025 | Mar. 31, 2025
--- | --- | ---
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |  |  |
Investment owned, fair value | $ 2,013,205 | [1],[2],[3],[4],[5] | $ 1,785,299 | [6],[7],[8],[9],[10]
Total Investments | 2,013,205 |  | 1,785,299 |
Quoted Prices in Active Markets for Identical Assets (Level 1) |  |  |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |  |  |
Total Investments | 0 |  | 0 |
Significant Other Observable Inputs (Level 2) |  |  |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |  |  |
Total Investments | 0 |  | 0 |
Significant Unobservable Inputs (Level 3) |  |  |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |  |  |
Investment owned, fair value | 2,013,205 |  | 1,785,299 |
Total Investments | 2,013,205 |  | 1,785,299 |
First lien loans |  |  |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |  |  |
Investment owned, fair value | 1,812,469 |  | 1,586,622 |
First lien loans | Quoted Prices in Active Markets for Identical Assets (Level 1) |  |  |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |  |  |
Investment owned, fair value | 0 |  | 0 |
First lien loans | Significant Other Observable Inputs (Level 2) |  |  |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |  |  |
Investment owned, fair value | 0 |  | 0 |
First lien loans | Significant Unobservable Inputs (Level 3) |  |  |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |  |  |
Investment owned, fair value | 1,812,469 |  | 1,586,622 |
Second lien loans |  |  |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |  |  |
Investment owned, fair value | 16,850 |  | 18,066 |
Second lien loans | Quoted Prices in Active Markets for Identical Assets (Level 1) |  |  |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |  |  |
Investment owned, fair value | 0 |  | 0 |
Second lien loans | Significant Other Observable Inputs (Level 2) |  |  |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |  |  |
Investment owned, fair value | 0 |  | 0 |
Second lien loans | Significant Unobservable Inputs (Level 3) |  |  |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |  |  |
Investment owned, fair value | 16,850 |  | 18,066 |
Subordinated debt |  |  |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |  |  |
Investment owned, fair value | 1,139 |  | 1,218 |
Subordinated debt | Quoted Prices in Active Markets for Identical Assets (Level 1) |  |  |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |  |  |
Investment owned, fair value | 0 |  | 0 |
Subordinated debt | Significant Other Observable Inputs (Level 2) |  |  |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |  |  |
Investment owned, fair value | 0 |  | 0 |
Subordinated debt | Significant Unobservable Inputs (Level 3) |  |  |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |  |  |
Investment owned, fair value | 1,139 |  | 1,218 |
Preferred equity |  |  |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |  |  |
Investment owned, fair value | 69,048 |  | 102,918 |
Preferred equity | Quoted Prices in Active Markets for Identical Assets (Level 1) |  |  |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |  |  |
Investment owned, fair value | 0 |  | 0 |
Preferred equity | Significant Other Observable Inputs (Level 2) |  |  |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |  |  |
Investment owned, fair value | 0 |  | 0 |
Preferred equity | Significant Unobservable Inputs (Level 3) |  |  |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |  |  |
Investment owned, fair value | 69,048 |  | 102,918 |
Common equity & warrants |  |  |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |  |  |
Investment owned, fair value | 109,957 |  | 76,475 |
Common equity & warrants | Quoted Prices in Active Markets for Identical Assets (Level 1) |  |  |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |  |  |
Investment owned, fair value | 0 |  | 0 |
Common equity & warrants | Significant Other Observable Inputs (Level 2) |  |  |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |  |  |
Investment owned, fair value | 0 |  | 0 |
Common equity & warrants | Significant Unobservable Inputs (Level 3) |  |  |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |  |  |
Investment owned, fair value | 109,957 |  | $ 76,475 |
Earnout |  |  |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |  |  |
Investment owned, fair value | 3,742 |  |  |
Earnout | Quoted Prices in Active Markets for Identical Assets (Level 1) |  |  |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |  |  |
Investment owned, fair value | 0 |  |  |
Earnout | Significant Other Observable Inputs (Level 2) |  |  |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |  |  |
Investment owned, fair value | 0 |  |  |
Earnout | Significant Unobservable Inputs (Level 3) |  |  |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |  |  |
Investment owned, fair value | $ 3,742 |  |  |
[1] | All debt investments are income-producing, unless otherwise noted. Equity investments are non-income producing, unless otherwise noted. (2)All of the Company’s investments and the investments of Capital Southwest SPV LLC ("SPV"), SBIC I (as defined below) and SBIC II (as defined below) are pledged as collateral for the Company’s senior secured revolving credit facility, the SPV's financing credit facility or in support of the SBA-guaranteed debentures to be issued by Capital Southwest SBIC I, LP ("SBIC I") and Capital Southwest SBIC II, LP ("SBIC II"), the Company's wholly-owned subsidiaries that operate as small business investment companies, respectively.
[2] | Non-Control/Non-Affiliate investments are generally defined by the 1940 Act as investments that are neither control investments nor affiliate investments. Investments are classified as non-control/non-affiliate investments, unless otherwise noted. At December 31, 2025, the Company held $1,607.8 million of non-control/non-affiliate investments, which represented approximately 79.9% of the Company’s investment assets. The fair value of these investments as a percent of net assets is 161.4%.
[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] | 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.
[5] | Unless otherwise noted, all portfolio company headquarters are based in the United States.
[6] | All debt investments are income-producing, unless otherwise noted. Equity investments are non-income producing, unless otherwise noted.
[7] | Non-Control/Non-Affiliate investments are generally defined by the 1940 Act as investments that are neither control investments nor affiliate investments. Investments are classified as non-control/non-affiliate investments, unless otherwise noted. At March 31, 2025, the Company held $1,436.3 million of non-control/non-affiliate investments, which represented approximately 80.5% of the Company’s investment assets. The fair value of these investments as a percent of net assets is 162.6%.
[8] | 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.
[9] | 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.
[10] | Unless otherwise noted, all portfolio company headquarters are based in the United States.

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 Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name Accounting Standards Codification -Section 55 -Paragraph 10 -SubTopic 10 -Topic 825 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482881/825-10-55-10 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 11 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482907/825-10-50-11 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 11 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482907/825-10-50-11 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482907/825-10-50-10 Reference 5: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482907/825-10-50-13 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482881/825-10-55-12 + Details
Name: | us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems
Namespace Prefix: | us-gaap_
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 S99 -Paragraph 1 -Subparagraph (SX 210.6-04(11)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 Reference 2: 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/2147478795/946-210-50-6 Reference 3: 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/2147477439/946-210-55-1 Reference 4: 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/2147478795/946-210-50-6 Reference 5: 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/2147478795/946-210-50-6 Reference 6: 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/2147478795/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)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/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 (b)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-1 Reference 9: 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/2147478795/946-210-50-1 Reference 10: 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/2147478795/946-210-50-2 Reference 11: 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/2147479168/946-830-55-12 Reference 12: 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/2147478795/946-210-50-6 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/2147479170/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/2147479170/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/2147479170/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/2147477271/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/2147477271/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/2147477271/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/2147477271/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/2147477271/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/2147477271/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/2147477271/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/2147477271/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/2147477271/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/2147477271/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/2147477271/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/2147477271/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/2147477271/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/2147477271/946-320-S99-6 + Details
Name: | us-gaap_InvestmentOwnedAtFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value portion of investment securities, including, but not limited to, marketable securities, derivative financial instruments, and investments accounted for under the equity method. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 28 -Subparagraph (c)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482907/825-10-50-28 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 11 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482907/825-10-50-11 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 11 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482907/825-10-50-11 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482907/825-10-50-10 Reference 5: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 6: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 7: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2E -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2E + Details
Name: | us-gaap_InvestmentsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

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

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_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_FinancialInstrumentAxis=cswc_EarnoutMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |