v3.24.1.1.u2

Portfolio Loans Receivable and Allowance for Credit Losses - Classification of Loans (Details) - USD ($) $ in Thousands | Mar. 31, 2024 | Dec. 31, 2023 | Mar. 31, 2023 | Dec. 31, 2022
--- | --- | --- | --- | ---
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |  |
Loans receivable, gross amount | $ 1,970,657 | $ 1,910,930 |  |
Loans receivable, gross percent | 100.00% | 100.00% |  |
Deferred origination fees, net | $ (6,132) | $ (7,642) |  |
Allowance for credit losses | (29,350) | (28,610) | $ (26,216) | $ (27,189)
Total portfolio loans held for investment, net | 1,935,175 | 1,874,678 |  |
Residential | Real estate: |  |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |  |
Loans receivable, gross amount | $ 577,112 | $ 573,104 |  |
Loans receivable, gross percent | 29.00% | 30.00% |  |
Allowance for credit losses | $ (5,926) | $ (5,518) | (5,408) | (4,283)
Commercial | Real estate: |  |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |  |
Loans receivable, gross amount | $ 736,316 | $ 684,229 |  |
Loans receivable, gross percent | 37.00% | 35.00% |  |
Allowance for credit losses | $ (11,123) | $ (10,316) | (8,931) | (12,039)
Construction | Real estate: |  |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |  |
Loans receivable, gross amount | $ 290,016 | $ 290,108 |  |
Loans receivable, gross percent | 15.00% | 15.00% |  |
Allowance for credit losses | $ (2,299) | $ (2,271) | (1,753) | (1,809)
Commercial and Industrial |  |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |  |
Loans receivable, gross amount | $ 254,577 | $ 239,208 |  |
Loans receivable, gross percent | 13.00% | 13.00% |  |
Allowance for credit losses | $ (4,002) | $ (4,406) | (4,958) | (4,008)
Consumer | Credit card, net of reserve |  |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |  |
Loans receivable, gross amount | $ 111,898 | $ 123,331 |  |
Loans receivable, gross percent | 6.00% | 7.00% |  |
Allowance for credit losses | $ (5,990) | $ (6,087) | (5,151) | (5,033)
Consumer | Other consumer |  |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |  |
Loans receivable, gross amount | $ 738 | $ 950 |  |
Loans receivable, gross percent | 0.00% | 0.00% |  |
Allowance for credit losses | $ (10) | $ (12) | $ (15) | $ (17)

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 No definition available. + 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/2003/role/disclosureRef -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=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_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=cbnk_OtherConsumerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |