XML 57 R47.htm IDEA: XBRL DOCUMENT
v3.22.4

INCOME TAXES - Schedule of Distributions (Details) - USD ($) $ in Thousands | 9 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021
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, Dividend Distribution And Tax Return Of Capital Distribution + References No definition available. + Details
Name: | cswc_InvestmentCompanyDividendDistributionAndTaxReturnOfCapitalDistribution
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