v3.22.0.1

Fair Value - Impaired Loans and Foreclosed Real Estate (Details) - USD ($) $ in Thousands | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | ---
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Impaired loans, net | $ 336 | $ 391
Impaired loans, valuation allowance | 218 | 253
Impaired loans | 11,339 | 9,152
Foreclosed real estate | 86 | 3,326
Fair Value, Measurements, Nonrecurring |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Foreclosed real estate | 86 |
Fair Value, Measurements, Nonrecurring | Level 1 Inputs |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Impaired loans | 0 | 0
Foreclosed real estate | 0 | 0
Fair Value, Measurements, Nonrecurring | Level 2 Inputs |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Impaired loans | 0 | 0
Foreclosed real estate | 0 | 0
Fair Value, Measurements, Nonrecurring | Level 3 Inputs |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Impaired loans, net | 11,300 | 9,200
Impaired loans, valuation allowance | 218 | 253
Impaired loans | 11,121 | 8,899
Foreclosed real estate | $ 86 | $ 3,326
Minimum | Level 3 Inputs |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Impaired loans, discounts to appraisals or cash flows for estimated holding and/or selling costs, percent | 0.00% |
Foreclosed real estate, discounts to appraisals for estimated holding and/or selling costs, percent | 0.00% |
Maximum | Level 3 Inputs |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Impaired loans, discounts to appraisals or cash flows for estimated holding and/or selling costs, percent | 25.00% |
Foreclosed real estate, discounts to appraisals for estimated holding and/or selling costs, percent | 25.00% |

X
- Definition Foreclosed Real Estate, Discounts To Appraisals Or For Estimated Holding And Selling Costs, Percent + References No definition available. + Details
Name: | cbnk_ForeclosedRealEstateDiscountsToAppraisalsOrForEstimatedHoldingAndSellingCostsPercent
Namespace Prefix: | cbnk_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Impaired Financing Receivable, Discounts To Appraisals Or Cash Flows For Estimated Holding And Selling Costs, Percent + References No definition available. + Details
Name: | cbnk_ImpairedFinancingReceivableDiscountsToAppraisalsOrCashFlowsForEstimatedHoldingAndSellingCostsPercent
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 http://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 http://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 Amount of investment in impaired financing receivables for which there is 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 http://asc.fasb.org/extlink&oid=123577603&loc=SL6953550-111524 + Details
Name: | us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 http://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 http://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: | us-gaap_FairValueByMeasurementFrequencyAxis=us-gaap_FairValueMeasurementsNonrecurringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
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: | srt_RangeAxis=srt_MinimumMember
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: |