v3.25.3

Portfolio Loans Receivable and Allowance for Credit Losses - Schedule of Outstanding Loan Commitments (Details) - USD ($) $ in Thousands | Sep. 30, 2025 | Dec. 31, 2024
--- | --- | ---
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Loans receivable, amount | $ 2,829,510 | $ 2,637,228
Commercial and Industrial |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Loans receivable, amount | 619,148 | 554,550
Real estate: | Residential |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Loans receivable, amount | 740,060 | 688,552
Real estate: | Commercial |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Loans receivable, amount | 987,519 | 943,019
Real estate: | Construction |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Loans receivable, amount | 344,290 | 321,252
Credit card | Consumer |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Loans receivable, amount | 136,483 | 127,766
Credit card | Consumer | Savings Deposits |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Loans receivable, amount | 98,400 | 97,200
Other consumer | Consumer |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Loans receivable, amount | 2,010 | 2,089
Commitments to Extend Credit |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Unused lines of credit | 384,103 | 403,029
Letters of credit | 1,633 | 3,122
Commitments to Extend Credit | Commercial and Industrial |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Unused lines of credit | 68,813 | 79,961
Commitments to Extend Credit | Real estate: | Residential |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Unused lines of credit | 21,655 | 20,996
Commitments to Extend Credit | Real estate: | Commercial |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Unused lines of credit | 21,812 | 44,201
Commitments to Extend Credit | Residential - Home Equity | Residential |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Unused lines of credit | 42,960 | 46,900
Commitments to Extend Credit | Construction | Construction |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Unused lines of credit | 90,818 | 85,984
Commitments to Extend Credit | Credit card | Consumer |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Unused lines of credit | 137,816 | 124,732
Commitments to Extend Credit | Other consumer | Consumer |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Unused lines of credit | $ 229 | $ 255

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/2009/role/commonPracticeRef -Topic 310 -SubTopic 20 -Name Accounting Standards Codification -Section 40 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481628/310-20-40-7 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481990/310-10-45-2 + 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 Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 944 -SubTopic 605 -Name Accounting Standards Codification -Section 55 -Paragraph 15 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477548/944-605-55-15 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 944 -SubTopic 605 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477548/944-605-55-12 + 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=cbnk_CommercialAndIndustrialPortfolioSegmentMember
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_ResidentialPortfolioSegmentMember
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_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_CreditCardReceivablesMember
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_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: |