v3.24.1.1.u2

Portfolio Loans Receivable and Allowance for Credit Losses - Outstanding Loan Commitments (Details) - USD ($) $ in Thousands | Mar. 31, 2024 | Dec. 31, 2023
--- | --- | ---
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Loans receivable, gross amount | $ 1,970,657 | $ 1,910,930
Residential | Real estate: |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Loans receivable, gross amount | 577,112 | 573,104
Commercial | Real estate: |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Loans receivable, gross amount | 736,316 | 684,229
Construction | Real estate: |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Loans receivable, gross amount | 290,016 | 290,108
Commercial and Industrial |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Loans receivable, gross amount | 254,577 | 239,208
Consumer | Credit card |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Loans receivable, gross amount | 111,898 | 123,331
Consumer | Credit card | Savings Deposits |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Loans receivable, gross amount | 108,400 | 98,200
Consumer | Other consumer |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Loans receivable, gross amount | 738 | 950
Commitments to Extend Credit |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Unused lines of credit | 388,505 | 336,472
Letters of credit | 4,641 | 4,641
Commitments to Extend Credit | Residential | Real estate: |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Unused lines of credit | 17,812 | 15,436
Commitments to Extend Credit | Residential | Residential - Home Equity |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Unused lines of credit | 43,225 | 43,892
Commitments to Extend Credit | Commercial | Real estate: |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Unused lines of credit | 29,542 | 20,424
Commitments to Extend Credit | Construction | Construction |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Unused lines of credit | 116,614 | 98,777
Commitments to Extend Credit | Commercial and Industrial |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Unused lines of credit | 52,627 | 42,751
Commitments to Extend Credit | Consumer | Credit card |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Unused lines of credit | 128,374 | 114,882
Commitments to Extend Credit | Consumer | Other consumer |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Unused lines of credit | $ 311 | $ 310

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/2009/role/commonPracticeRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479344/326-20-45-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-3B Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-5 + 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=cbnk_CommercialAndIndustrialPortfolioSegmentMember
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=us-gaap_ConstructionLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |