v3.22.2.2

Fair Value - Impaired Loans and Foreclosed Real Estate (Details) - USD ($) $ in Thousands | Sep. 30, 2022 | Dec. 31, 2021
--- | --- | ---
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Total Recorded Investment | $ 8,420 | $ 11,339
Impaired loans, valuation allowance | 159 | 218
Impaired loans | 8,420 | 11,339
Foreclosed real estate | $ 0 | 86
Minimum | Level 3 Inputs | Measurement Input, Cost to Sell | Valuation Technique, Discounted Cash Flow |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Discounts to appraisals or cash flows for estimated holding and/or selling costs (percent) | 11.00% |
Minimum | Level 3 Inputs | Measurement Input, Cost to Sell | Valuation Technique, Consensus Pricing Model |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Discounts to appraisals for estimated holding and/or selling costs (percent) | 11.00% |
Maximum | Level 3 Inputs | Measurement Input, Cost to Sell | Valuation Technique, Discounted Cash Flow |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Discounts to appraisals or cash flows for estimated holding and/or selling costs (percent) | 25.00% |
Maximum | Level 3 Inputs | Measurement Input, Cost to Sell | Valuation Technique, Consensus Pricing Model |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Discounts to appraisals for estimated holding and/or selling costs (percent) | 25.00% |
Fair Value, Measurements, Nonrecurring | Level 3 Inputs |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Total Recorded Investment | $ 8,261 | 11,121
Impaired loans | 8,261 | 11,121
Foreclosed real estate | $ 0 | $ 86

X
- Definition Impaired Financing Receivable, Measurement Input + References No definition available. + Details
Name: | cbnk_ImpairedFinancingReceivableMeasurementInput
Namespace Prefix: | cbnk_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Real Estate Acquired Through Foreclosure, Measurement Input + References No definition available. + Details
Name: | cbnk_RealEstateAcquiredThroughForeclosureMeasurementInput
Namespace Prefix: | cbnk_
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_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of investment of impaired financing receivables with related allowance for credit losses and without a related allowance for credit losses. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 14A -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123577603&loc=SL6953550-111524 + Details
Name: | us-gaap_ImpairedFinancingReceivableRecordedInvestment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of allowance for credit losses related to recorded investment. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (a)(3) -URI https://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524 + Details
Name: | us-gaap_ImpairedFinancingReceivableRelatedAllowance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Carrying amount as of the balance sheet date of land and buildings obtained through foreclosure proceedings or defeasance in full or partial satisfaction of a debt arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 11 -URI https://asc.fasb.org/extlink&oid=123577603&loc=d3e5162-111524 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 45 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=124259787&loc=d3e4437-111522 + Details
Name: | us-gaap_RealEstateAcquiredThroughForeclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=us-gaap_MeasurementInputCostToSellMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ValuationTechniqueAxis=us-gaap_ValuationTechniqueDiscountedCashFlowMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ValuationTechniqueAxis=us-gaap_ValuationTechniqueConsensusPricingModelMember
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_FairValueByMeasurementFrequencyAxis=us-gaap_FairValueMeasurementsNonrecurringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |