XML 45 R35.htm IDEA: XBRL DOCUMENT
v3.22.4

ORGANIZATION AND BASIS OF PRESENTATION (Details) | 9 Months Ended
--- | ---
Dec. 31, 2022 USD ($)
Schedule of Investments [Line Items] |
Qualifying assets | 86.50%
Nonqualified assets | 11.20%
LMM | Minimum |
Schedule of Investments [Line Items] |
Target company, annual EBITDA | $ 3,000,000
Target investment | 5,000,000
LMM | Maximum |
Schedule of Investments [Line Items] |
Target company, annual EBITDA | 20,000,000
Target investment | 35,000,000
UMM | Minimum |
Schedule of Investments [Line Items] |
Target company, annual EBITDA | 20,000,000
Target investment | 5,000,000
UMM | Maximum |
Schedule of Investments [Line Items] |
Target investment | $ 20,000,000

X
- Definition Investment Company, Percent Of Nonqualified Assets + References No definition available. + Details
Name: | cswc_InvestmentCompanyPercentOfNonqualifiedAssets
Namespace Prefix: | cswc_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Investment Company, Percent Of Qualified Assets + References No definition available. + Details
Name: | cswc_InvestmentCompanyPercentOfQualifiedAssets
Namespace Prefix: | cswc_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Investment Company, Target Investment, Annual Earnings Before Interest, Taxes, Depreciation And Amortization + References No definition available. + Details
Name: | cswc_InvestmentCompanyTargetInvestmentAnnualEarningsBeforeInterestTaxesDepreciationAndAmortization
Namespace Prefix: | cswc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Investment Company, Target Investment, Annual Revenue + References No definition available. + Details
Name: | cswc_InvestmentCompanyTargetInvestmentAnnualRevenue
Namespace Prefix: | cswc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 No definition available. + Details
Name: | us-gaap_ScheduleOfInvestmentsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_InvestmentTypeAxis=cswc_LowerMiddleMarketMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=cswc_UpperMiddleMarketMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |