XML 73 R56.htm IDEA: XBRL DOCUMENT
v3.23.1

INCOME TAXES - Schedule of Distributions (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Mar. 31, 2023 | Mar. 31, 2022
Income Tax Disclosure [Abstract] |  |
Ordinary income | $ 60,960 | $ 56,633
Distributions of long term capital gains | 0 | 0
Distributions on tax basis | $ 60,960 | $ 56,633

X
- Definition Investment Company, Tax Dividend Distribution + References No definition available. + Details
Name: | cswc_InvestmentCompanyTaxDividendDistribution
Namespace Prefix: | cswc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap-supplement_InvestmentCompanyDistributionLongTermCapitalGain
Namespace Prefix: | us-gaap-supplement_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap-supplement_InvestmentCompanyDistributionOrdinaryIncome
Namespace Prefix: | us-gaap-supplement_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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