v3.25.4

COMMITMENTS AND CONTINGENCIES - Narrative (Details) | 3 Months Ended | 9 Months Ended |  |  |
--- | --- | --- | --- | --- | ---
Dec. 31, 2025 USD ($) | Dec. 31, 2024 USD ($) | Dec. 31, 2025 USD ($) | Dec. 31, 2024 USD ($) | Mar. 31, 2025 USD ($) | Dec. 31, 2023 ft² | Mar. 31, 2021
Gain Contingencies [Line Items] |  |  |  |  |  |  |
Lease extension |  |  |  |  |  |  | 3 years
Operating Lease, Right-of-Use Asset, Statement of Financial Position [Extensible Enumeration] | Other assets |  | Other assets |  | Other assets |  |
Operating Lease, Liability, Statement of Financial Position [Extensible Enumeration] | Other liabilities |  | Other liabilities |  | Other liabilities |  |
Lease expense | $ 100,000 | $ 100,000 | $ 400,000 | $ 300,000 |  |  |
Operating lease asset | 3,700,000 |  | 3,700,000 |  | $ 3,900,000 |  |
Operating lease liability | $ 5,100,000 |  | $ 5,100,000 |  | $ 5,400,000 |  |
Remaining lease term | 9 years 9 months 18 days |  | 9 years 9 months 18 days |  |  |  |
Discount rate | 7.36% |  | 7.36% |  |  |  |
Undiscounted excess amount not disclosed | $ 0 |  | $ 0 |  |  |  |
Office Space |  |  |  |  |  |  |
Gain Contingencies [Line Items] |  |  |  |  |  |  |
Area of additional office space | ft² |  |  |  |  |  | 7,100 |
Letters of Credit Issued and Outstanding |  |  |  |  |  |  |
Gain Contingencies [Line Items] |  |  |  |  |  |  |
Expiring letters of credit | 900,000 |  | 900,000 |  |  |  |
Letters of credit drawn | 0 |  | 0 |  |  |  |
Letters of Credit Issued and Outstanding | February 2026 |  |  |  |  |  |  |
Gain Contingencies [Line Items] |  |  |  |  |  |  |
Expiring letters of credit | 400,000 |  | 400,000 |  |  |  |
Letters of Credit Issued and Outstanding | March 2026 |  |  |  |  |  |  |
Gain Contingencies [Line Items] |  |  |  |  |  |  |
Expiring letters of credit | 300,000 |  | 300,000 |  |  |  |
Letters of Credit Issued and Outstanding | April 2026 |  |  |  |  |  |  |
Gain Contingencies [Line Items] |  |  |  |  |  |  |
Expiring letters of credit | $ 200,000 |  | $ 200,000 |  |  |  |

X
- Definition Lessee, Operating Lease, Extension Term + References No definition available. + Details
Name: | cswc_LesseeOperatingLeaseExtensionTerm
Namespace Prefix: | cswc_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Lessee, Operating Lease, Liability, Undiscounted Excess Amount Not Disclosed + References No definition available. + Details
Name: | cswc_LesseeOperatingLeaseLiabilityUndiscountedExcessAmountNotDisclosed
Namespace Prefix: | cswc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Area of a real estate property. + References No definition available. + Details
Name: | us-gaap_AreaOfRealEstateProperty
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:areaItemType
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 Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 450 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483049/450-30-50-1 + Details
Name: | us-gaap_GainContingenciesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The current carrying amount of the liability for the freestanding or embedded guarantor's obligations under the guarantee or each group of similar guarantees. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 460 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482425/460-10-50-4 + Details
Name: | us-gaap_GuaranteeObligationsCurrentCarryingValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Maximum potential amount of future payments (undiscounted) the guarantor could be required to make under the guarantee or each group of similar guarantees before reduction for potential recoveries under recourse or collateralization provisions. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 460 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482425/460-10-50-4 + Details
Name: | us-gaap_GuaranteeObligationsMaximumExposure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Discount rate used by lessee to determine present value of operating lease payments. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478964/842-20-50-3 + Details
Name: | us-gaap_LesseeOperatingLeaseDiscountRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Remaining lease term of operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 7A -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478964/842-20-50-7A Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478964/842-20-50-3 + Details
Name: | us-gaap_LesseeOperatingLeaseRemainingLeaseTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of operating lease expense. Excludes sublease income. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 4 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479041/842-20-45-4 + Details
Name: | us-gaap_OperatingLeaseExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Present value of lessee's discounted obligation for lease payments from operating lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479041/842-20-45-1 + Details
Name: | us-gaap_OperatingLeaseLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Indicates line item in statement of financial position that includes operating lease liability. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479041/842-20-45-2 + Details
Name: | us-gaap_OperatingLeaseLiabilityStatementOfFinancialPositionExtensibleList
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of lessee's right to use underlying asset under operating lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479041/842-20-45-1 + Details
Name: | us-gaap_OperatingLeaseRightOfUseAsset
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Indicates line item in statement of financial position that includes operating lease right-of-use asset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479041/842-20-45-2 + Details
Name: | us-gaap_OperatingLeaseRightOfUseAssetStatementOfFinancialPositionExtensibleList
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_BuildingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_GuaranteeObligationsByNatureAxis=us-gaap_FinancialStandbyLetterOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | cswc_ExpirationTrancheAxis=cswc_ExpirationTrancheOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | cswc_ExpirationTrancheAxis=cswc_ExpirationTrancheTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | cswc_ExpirationTrancheAxis=cswc_ExpirationTrancheThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |