XML 53 R42.htm IDEA: XBRL DOCUMENT
v3.25.0.1

FAIR VALUE MEASUREMENTS - Narrative (Details) | Dec. 31, 2024 | Mar. 31, 2024
--- | --- | ---
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-types1: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: |