XML 48 R38.htm IDEA: XBRL DOCUMENT
v3.22.4

FAIR VALUE MEASUREMENTS - Narrative (Details) | Dec. 31, 2022 | Mar. 31, 2022
--- | --- | ---
Privately held debt and equity instruments |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |
Percent of investment assets | 100.00% | 100.00%

X
- Definition Investment Owned, Percent Of Portfolio + References No definition available. + Details
Name: | cswc_InvestmentOwnedPercentOfPortfolio
Namespace Prefix: | cswc_
Data Type: | dtr-types:percentItemType
Balance Type: | na
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_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=cswc_PrivatelyHeldDebtAndEquityInstrumentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |