v3.22.2.2

Portfolio Loans Receivable - Outstanding Loan Commitments (Details) - USD ($) $ in Thousands | Sep. 30, 2022 | Dec. 31, 2021
--- | --- | ---
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Loans receivable, gross | $ 1,657,844 | $ 1,531,202
Residential | Real estate: |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Loans receivable, gross | 466,849 | 401,607
Commercial and Industrial |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Loans receivable, gross | 192,207 | 175,956
Commercial and Industrial | Real estate: |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Loans receivable, gross | 626,030 | 556,339
Construction | Real estate: |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Loans receivable, gross | 235,045 | 255,147
Consumer | Credit card |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Loans receivable, gross | 136,658 | 141,120
Consumer | Credit card | Savings Deposits |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Loans receivable, gross | 114,500 | 121,700
Consumer | Other consumer |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Loans receivable, gross | 1,055 | 1,033
Commitments to Extend Credit |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Unused lines of credit | 342,508 | 360,386
Letters of credit | 5,085 | 5,105
Commitments to Extend Credit | Residential | Real estate: |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Unused lines of credit | 24,997 | 15,747
Commitments to Extend Credit | Residential | Residential - Home Equity |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Unused lines of credit | 39,957 | 37,640
Commitments to Extend Credit | Residential | Commitments to originate residential loans held for sale |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Unused lines of credit | 0 | 1,385
Commitments to Extend Credit | Commercial and Industrial |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Unused lines of credit | 48,184 | 45,135
Commitments to Extend Credit | Commercial and Industrial | Real estate: |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Unused lines of credit | 33,382 | 17,225
Commitments to Extend Credit | Construction | Construction |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Unused lines of credit | 76,034 | 118,518
Commitments to Extend Credit | Consumer | Credit card |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Unused lines of credit | 119,680 | 123,874
Commitments to Extend Credit | Consumer | Other consumer |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Unused lines of credit | $ 274 | $ 2,247

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_AccountsNotesAndLoansReceivableLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amortized cost excluding accrued interest, before allowance for credit loss, of financing receivable. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 5 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 3B -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL120267963-210447 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The total amount of the contingent obligation under letters of credit outstanding as of the reporting date. + References No definition available. + Details
Name: | us-gaap_LettersOfCreditOutstandingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Unused amount of commitments to extend credit to customers. + References No definition available. + Details
Name: | us-gaap_UnusedCommitmentsToExtendCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_ResidentialPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_RealEstateLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_CommercialPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=cbnk_ConstructionPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_ConsumerPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_CreditCardReceivablesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CollateralAxis=cbnk_SavingsDepositsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=cbnk_OtherConsumerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CommitmentsToExtendCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_HomeEquityLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=cbnk_LoansHeldForSaleMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_ConstructionLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |