v3.25.4

SUMMARY OF PER SHARE INFORMATION (Details) - $ / shares | 3 Months Ended | 9 Months Ended |
--- | --- | --- | ---
Dec. 31, 2025 | Dec. 31, 2024 | Dec. 31, 2025 | Dec. 31, 2024 | Mar. 31, 2025
Per Share Data: |  |  |  |  |
Investment income (in usd per share) |  |  | $ 3.11 | $ 3.23 |
Operating expenses (in usd per share) |  |  | (1.30) | (1.27) |
Income taxes (in usd per share) |  |  | (0.01) | (0.04) |
Net investment income (in usd per share) | $ 0.64 | $ 0.63 | 1.80 | 1.92 |
Net realized gain (loss), net of tax (in usd per share) |  |  | 0.20 | (0.47) |
Net unrealized (depreciation) appreciation on investments, net of tax (in usd per share) |  |  | (0.43) | (0.31) |
Realized loss on extinguishment of debt (in usd per share) |  |  | (0.04) | (0.01) |
Total increase from investment operations (in usd per share) |  |  | 1.52 | 1.13 |
Accretive effect of share issuances and repurchases (in usd per share) |  |  | 0.47 | 0.64 |
Dividends to shareholders (in usd per share) |  |  | (1.92) | (1.90) |
Issuance of restricted stock (in usd per share) |  |  | (0.10) | (0.14) |
Common stock withheld for payroll taxes upon vesting of restricted stock (in usd per share) |  |  | (0.04) | (0.07) |
Share based compensation expense (in usd per share) |  |  | 0.06 | 0.09 |
Other (in usd per share) |  |  | 0.06 | 0.07 |
Increase (decrease) in net asset value (in usd per share) |  |  | 0.05 | (0.18) |
Net asset value |  |  |  |  |
Beginning of period (in usd per share) |  |  | 16.70 | 16.77 |
End of period (in usd per share) | 16.75 | 16.59 | $ 16.75 | $ 16.59 |
Ratios and Supplemental Data |  |  |  |  |
Ratio of operating expenses to average net assets |  |  | 10.30% | 10.09% |
Ratio of operating expenses (excluding interest expense) to average net assets |  |  | 3.34% | 3.41% |
Ratio of net investment income to average net assets |  |  | 14.24% | 15.17% |
Portfolio turnover |  |  | 16.41% | 14.97% |
Total investment return |  |  | 7.92% | (5.73%) |
Total return based on change in NAV |  |  | 11.80% | 10.26% |
Per share market value at the end of the period (in usd per share) | $ 22.15 | $ 21.82 | $ 22.15 | $ 21.82 |
Weighted average common shares outstanding – basic (in shares) | 57,530,942 | 48,315,228 | 55,538,000 | 47,079,617 |
Weighted average common shares outstanding – diluted (in shares) | 66,842,796 | 54,121,844 | 64,824,145 | 49,022,194 |
Common shares outstanding at end of period (in shares) | 59,456,961 | 50,051,000 | 59,456,961 | 50,051,000 | 52,912,796

X
- Definition Investment Company, Accretive Effect Of Share Issuances And Repurchases, Per Share + References No definition available. + Details
Name: | cswc_InvestmentCompanyAccretiveEffectOfShareIssuancesAndRepurchasesPerShare
Namespace Prefix: | cswc_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Investment Company, Common Stock Withheld For Payroll Taxes Upon Vesting Of Restricted Stock, Per Share + References No definition available. + Details
Name: | cswc_InvestmentCompanyCommonStockWithheldForPayrollTaxesUponVestingOfRestrictedStockPerShare
Namespace Prefix: | cswc_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Investment Company, Expense Ratio, Excluding Interest, After Fee Waiver And Incentive Fee Deduction + References No definition available. + Details
Name: | cswc_InvestmentCompanyExpenseRatioExcludingInterestAfterFeeWaiverAndIncentiveFeeDeduction
Namespace Prefix: | cswc_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Investment Company, Extinguishment of Debt, Gain (Loss), Per Share, Net of Tax + References No definition available. + Details
Name: | cswc_InvestmentCompanyExtinguishmentOfDebtGainLossPerShareNetOfTax
Namespace Prefix: | cswc_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Investment Company, Investment Income (Loss), Gross, Per Share + References No definition available. + Details
Name: | cswc_InvestmentCompanyInvestmentIncomeLossGrossPerShare
Namespace Prefix: | cswc_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Investment Company, Investment Income (Loss), Operating Expenses, Per Share + References No definition available. + Details
Name: | cswc_InvestmentCompanyInvestmentIncomeLossOperatingExpensesPerShare
Namespace Prefix: | cswc_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Investment Company, Investment Income (Loss), Taxes, Per Share + References No definition available. + Details
Name: | cswc_InvestmentCompanyInvestmentIncomeLossTaxesPerShare
Namespace Prefix: | cswc_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Investment Company, Other Adjustments Per Share + References No definition available. + Details
Name: | cswc_InvestmentCompanyOtherAdjustmentsPerShare
Namespace Prefix: | cswc_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Investment Company, Per Share Data [Abstract] + References No definition available. + Details
Name: | cswc_InvestmentCompanyPerShareDataAbstract
Namespace Prefix: | cswc_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Investment Company, Ratio To Average Net Assets And Supplemental Data [Abstract] + References No definition available. + Details
Name: | cswc_InvestmentCompanyRatioToAverageNetAssetsAndSupplementalDataAbstract
Namespace Prefix: | cswc_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Investment Company, Share Based Compensation Expense, Per Share + References No definition available. + Details
Name: | cswc_InvestmentCompanyShareBasedCompensationExpensePerShare
Namespace Prefix: | cswc_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.6-05(4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-2 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(4)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-3 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(16)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 Reference 6: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(7)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-3 + Details
Name: | us-gaap_CommonStockSharesOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Per share or unit amount of distribution to shareholders. Includes, but is not limited to, dividend and capital gain. Excludes distribution for tax return of capital. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 205 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478494/946-205-50-7 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480990/946-20-50-8 + Details
Name: | us-gaap_InvestmentCompanyDistributionToShareholdersPerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage, after deduction of fee waiver and incentive fee, of expense to average net assets. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 205 -Name Accounting Standards Codification -Section 50 -Paragraph 14 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478494/946-205-50-14 + Details
Name: | us-gaap_InvestmentCompanyExpenseRatioIncludingIncentiveFee
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. + References No definition available. + Details
Name: | us-gaap_InvestmentCompanyFinancialHighlightsRollForward
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Per share or unit amount of investment income (loss) and realized and unrealized gain (loss) on investment. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 205 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478494/946-205-50-7 + Details
Name: | us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Per-basic-share or unit amount, after investment expense, of dividend and interest investment income (loss) from investment held by investment company. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 205 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478494/946-205-50-7 + Details
Name: | us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of investment income (loss) to average net assets. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 205 -Name Accounting Standards Codification -Section 50 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478494/946-205-50-10 + Details
Name: | us-gaap_InvestmentCompanyInvestmentIncomeLossRatio
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Per share amount of share issuance by investment company. Includes, but is not limited to, per unit, membership interest, or other ownership interest. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 205 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478494/946-205-50-7 + Details
Name: | us-gaap_InvestmentCompanyIssuanceOfSharesPerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Market value per share of investment portfolio by investment company. Includes, but is not limited to, per unit, membership interest, or other ownership interest. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 205 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478494/946-205-50-7 + Details
Name: | us-gaap_InvestmentCompanyMarketValuePerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Per-share or unit amount of increase (decrease) in net asset value. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 205 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478494/946-205-50-7 + Details
Name: | us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of lesser of purchase or sale of portfolio securities to average value of portfolio securities owned. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 205 -Name Accounting Standards Codification -Section 50 -Paragraph 27 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478494/946-205-50-27 + Details
Name: | us-gaap_InvestmentCompanyPortfolioTurnover
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Per-share or unit amount of realized gain (loss) on investment held by investment company. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 205 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478494/946-205-50-7 + Details
Name: | us-gaap_InvestmentCompanyRealizedGainLossOnInvestmentPerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage increase (decrease) in fund net asset value, assuming reinvestment of dividends and capital gain distributions. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 205 -Name Accounting Standards Codification -Section 50 -Paragraph 27 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478494/946-205-50-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480990/946-20-50-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 205 -Name Accounting Standards Codification -Section 50 -Paragraph 18 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478494/946-205-50-18 + Details
Name: | us-gaap_InvestmentCompanyTotalReturn
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage increase (decrease) in portfolio market value assuming reinvestment of dividend and capital gain distribution. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 205 -Name Accounting Standards Codification -Section 50 -Paragraph 18 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478494/946-205-50-18 + Details
Name: | us-gaap_InvestmentCompanyTotalReturnMarketValue
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Per-share or unit amount of unrealized gain (loss) on investment held by investment company. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 205 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478494/946-205-50-7 + Details
Name: | us-gaap_InvestmentCompanyUnrealizedGainLossOnInvestmentPerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Net asset value per share or per unit of investments in certain entities that calculate net asset value per share. Includes, but is not limited to, by unit, membership interest, or other ownership interest. Investment includes, but is not limited to, investment in certain hedge funds, venture capital funds, private equity funds, real estate partnerships or funds. Excludes fair value disclosure. + References Reference 1: 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 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 45 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477796/946-210-45-4 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 205 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478494/946-205-50-7 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 205 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Subparagraph (h) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478494/946-205-50-7 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 505 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478448/946-505-50-1 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(19)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.6-05(4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-2 + Details
Name: | us-gaap_NetAssetValuePerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 260 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482662/260-10-50-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 260 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 16 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482689/260-10-45-16 + Details
Name: | us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 260 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482662/260-10-50-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 260 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482689/260-10-45-10 + Details
Name: | us-gaap_WeightedAverageNumberOfSharesOutstandingBasic
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration