v3.25.3

Portfolio Loans Receivable and Allowance for Credit Losses - Schedule of Major Categories of Total Loans Outstanding (Details) - USD ($) $ in Thousands | Sep. 30, 2025 | Jun. 30, 2025 | Dec. 31, 2024 | Sep. 30, 2024 | Jun. 30, 2024 | Dec. 31, 2023
--- | --- | --- | --- | --- | --- | ---
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |  |  |  |
Loans receivable, amount | $ 2,829,510 |  | $ 2,637,228 |  |  |
Loans receivable, percent | 100.00% |  | 100.00% |  |  |
Deferred origination fees, net | $ (7,527) |  | $ (7,065) |  |  |
Allowance for credit losses | (53,045) | $ (47,447) | (48,652) | $ (31,925) | $ (30,832) | $ (28,610)
Total portfolio loans held for investment, net | 2,768,938 |  | 2,581,511 |  |  |
Commercial and Industrial |  |  |  |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |  |  |  |
Loans receivable, amount | $ 619,148 |  | $ 554,550 |  |  |
Loans receivable, percent | 22.00% |  | 21.00% |  |  |
Allowance for credit losses | $ (20,017) | (16,249) | $ (16,377) | (4,287) | (4,076) | (4,406)
Real estate: | Residential |  |  |  |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |  |  |  |
Loans receivable, amount | $ 740,060 |  | $ 688,552 |  |  |
Loans receivable, percent | 26.00% |  | 26.00% |  |  |
Allowance for credit losses | $ (7,028) | (6,772) | $ (6,945) | (5,982) | (5,999) | (5,518)
Real estate: | Commercial |  |  |  |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |  |  |  |
Loans receivable, amount | $ 987,519 |  | $ 943,019 |  |  |
Loans receivable, percent | 35.00% |  | 36.00% |  |  |
Allowance for credit losses | $ (14,865) | (14,262) | $ (16,041) | (11,705) | (11,682) | (10,316)
Real estate: | Construction |  |  |  |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |  |  |  |
Loans receivable, amount | $ 344,290 |  | $ 321,252 |  |  |
Loans receivable, percent | 12.00% |  | 12.00% |  |  |
Allowance for credit losses | $ (3,731) | (3,410) | $ (2,973) | (2,604) | (2,299) | (2,271)
Credit card, net of reserve | Consumer |  |  |  |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |  |  |  |
Loans receivable, amount | $ 136,483 |  | $ 127,766 |  |  |
Loans receivable, percent | 5.00% |  | 5.00% |  |  |
Allowance for credit losses | $ (7,399) | (6,749) | $ (6,301) | (7,329) | (6,758) | (6,087)
Other consumer | Consumer |  |  |  |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |  |  |  |
Loans receivable, amount | $ 2,010 |  | $ 2,089 |  |  |
Loans receivable, percent | 0.00% |  | 0.00% |  |  |
Allowance for credit losses | $ (5) | $ (5) | $ (15) | $ (18) | $ (18) | $ (12)

X
- Definition Percentage of allowance for credit loss to total financing receivable outstanding. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name Regulation S-K (SK) -Number 229 -Section 1405 -Paragraph a -Subparagraph (1) -Publisher SEC + Details
Name: | srt_FinancingReceivableAllowanceForCreditLossToOutstandingPercent
Namespace Prefix: | srt_
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 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 Amount excluding accrued interest, of allowance for credit loss on 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 + Details
Name: | us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of fee received for commitment to originate or purchase financing receivable where likelihood of commitment being exercised is remote, to be recognized as service income. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 310 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481598/310-20-45-2 + Details
Name: | us-gaap_FinancingReceivableDeferredIncome
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest, after 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 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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
- 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_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=cbnk_OtherConsumerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |