v3.25.4

INCOME TAXES - Schedule of Book and Tax Basis Differences Relating to Dividends and Distributions (Details) - USD ($) $ in Thousands | 9 Months Ended
--- | ---
Dec. 31, 2025 | Dec. 31, 2024
Additional Paid-In Capital |  |
Investment Company, Summary Of Dividends And Distributions, Tax Differences [Line Items] |  |
Earnings | $ (35,430) | $ (5,521)
Total distributable earnings |  |
Investment Company, Summary Of Dividends And Distributions, Tax Differences [Line Items] |  |
Earnings | $ 35,430 | $ 5,521

X
- Definition Investment Company, Summary Of Dividends And Distributions, Tax Differences [Line Items] + References No definition available. + Details
Name: | cswc_InvestmentCompanySummaryOfDividendsAndDistributionsTaxDifferencesLineItems
Namespace Prefix: | cswc_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of increase (decrease) from reclassification to paid-in capital of permanent difference for distribution to ownership interest holder by investment company. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 205 -Name Accounting Standards Codification -Section 45 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478009/946-205-45-3 + Details
Name: | us-gaap_InvestmentCompanyTaxReclassificationIncreaseDecrease
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_AdditionalPaidInCapitalMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_RetainedEarningsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |