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

SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) |  |  | 3 Months Ended | 12 Months Ended
--- | --- | --- | --- | ---
Jul. 18, 2021 | Jul. 18, 2011 | Jun. 30, 2023 USD ($) investment | Jun. 30, 2022 USD ($) investment | Mar. 31, 2023 USD ($)
Accounting Policies [Abstract] |  |  |  |  |
FDIC Insured amount |  |  | $ 7,700,000 |  | $ 8,900,000
FDIC uninsured amount |  |  | $ 20,000,000 |  | $ 20,300,000
Concentration Risk [Line Items] |  |  |  |  |
Non-cash interest income percent |  |  | 2.90% | 3.80% |
Number of PIK investments | investment |  |  | 3 | 3 |
Non-cash PIK interest income percent |  |  | 4.10% | 3.00% |
Remaining lease term |  |  | 9 years 3 months 18 days |  |
Interest or penalties expense |  |  | $ 0 | $ 0 |
Restricted Stock | 2010 Plan |  |  |  |  |
Concentration Risk [Line Items] |  |  |  |  |
Right to grant period | 10 years | 10 years |  |  |
Right to grant period | 10 years | 10 years |  |  |
Percentage of Total Portfolio at Fair Value | Credit risk | Investment Owned, Non-accrual Status |  |  |  |  |
Concentration Risk [Line Items] |  |  |  |  |
Percent of total investment portfolio's fair value |  |  | 1.70% |  | 0.30%
Percentage of Total Portfolio at Cost | Credit risk | Investment Owned, Non-accrual Status |  |  |  |  |
Concentration Risk [Line Items] |  |  |  |  |
Percent of total investment portfolio's fair value |  |  | 2.50% |  | 1.30%

X
- Definition Investment Income, Noncash Interest, Percent + References No definition available. + Details
Name: | cswc_InvestmentIncomeNoncashInterestPercent
Namespace Prefix: | cswc_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Investment Income, Paid-In-Kind Interest, Percent + References No definition available. + Details
Name: | cswc_InvestmentIncomePaidInKindInterestPercent
Namespace Prefix: | cswc_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number Of Investments, Paid-in-Kind Interest, Nonaccrual + References No definition available. + Details
Name: | cswc_NumberOfInvestmentsPaidInKindInterestNonaccrual
Namespace Prefix: | cswc_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share-Based Compensation Arrangement By Share-Based Payment Award, Plan Expiration Period + References No definition available. + Details
Name: | cswc_ShareBasedCompensationArrangementByShareBasedPaymentAwardPlanExpirationPeriod
Namespace Prefix: | cswc_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_AccountingPoliciesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of cash deposited in financial institutions as of the balance sheet date that is insured by the Federal Deposit Insurance Corporation. + References No definition available. + Details
Name: | us-gaap_CashFDICInsuredAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of cash as of the balance sheet date that is not insured by the Federal Deposit Insurance Corporation. + References No definition available. + Details
Name: | us-gaap_CashUninsuredAmount
Namespace Prefix: | us-gaap_
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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 954 -SubTopic 310 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481027/954-310-50-2 + Details
Name: | us-gaap_ConcentrationRiskLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the "benchmark" (or denominator) in the equation, this concept represents the concentration percentage derived from the division. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 42 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-42 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 21 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482907/825-10-50-21 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 20 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482907/825-10-50-20 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 18 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482861/275-10-50-18 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 20 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482861/275-10-50-20 + Details
Name: | us-gaap_ConcentrationRiskPercentage1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The sum of the amounts of estimated penalties and interest recognized in the period arising from income tax examinations. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-15 + Details
Name: | us-gaap_IncomeTaxExaminationPenaltiesAndInterestExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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/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
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_RestrictedStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=cswc_A2010PlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByBenchmarkAxis=cswc_InvestmentOwnedFairValueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByTypeAxis=us-gaap_CreditConcentrationRiskMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_ConcentrationRiskByBenchmarkAxis=cswc_InvestmentOwnedCostMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |