Loans and allowance for loan losses (Details 2) (USD $) | 3 Months Ended | 12 Months Ended |
In Thousands, unless otherwise specified | Mar. 31, 2015 | Dec. 31, 2014 |
Financing Receivable, Impaired [Line Items] | | |
Impaired Financing Receivable, with No Related Allowance, Recorded Investment | $15,420 | $10,477 |
Impaired Financing Receivable, with No Related Allowance, Unpaid Principal Balance | 18,756 | 14,587 |
Impaired Financing Receivable, with No Related Allowance, Average Recorded Investment | 19,347 | 15,140 |
Impaired Financing Receivable, with No Related Allowance, Interest Income Recognized | 199 | 558 |
Impaired Financing Receivable, With Related Allowance, Recorded Investment | 10,502 | 8,083 |
Impaired Financing Receivable, with Related Allowance, Unpaid Principal Balance | 10,875 | 8,621 |
Impaired Financing Receivable, Related Loan Loss Allowance | 1,681 | 722 |
Impaired Financing Receivable, with Related Allowance, Average Recorded Investment | 11,694 | 8,822 |
Impaired Financing Receivable, with Related Allowance, Interest Income Recognized | 149 | 544 |
Real Estate [Member] | | |
Financing Receivable, Impaired [Line Items] | | |
Impaired Financing Receivable, with No Related Allowance, Recorded Investment | 14,578 | 10,361 |
Impaired Financing Receivable, with No Related Allowance, Unpaid Principal Balance | 17,847 | 13,477 |
Impaired Financing Receivable, with No Related Allowance, Average Recorded Investment | 18,433 | 13,500 |
Impaired Financing Receivable, with No Related Allowance, Interest Income Recognized | 190 | 557 |
Impaired Financing Receivable, With Related Allowance, Recorded Investment | 10,110 | 7,677 |
Impaired Financing Receivable, with Related Allowance, Unpaid Principal Balance | 10,483 | 8,204 |
Impaired Financing Receivable, Related Loan Loss Allowance | 1,664 | 700 |
Impaired Financing Receivable, with Related Allowance, Average Recorded Investment | 11,296 | 8,375 |
Impaired Financing Receivable, with Related Allowance, Interest Income Recognized | 144 | 522 |
Real Estate Construction and Land Develolpment [Member] | | |
Financing Receivable, Impaired [Line Items] | | |
Impaired Financing Receivable, with No Related Allowance, Recorded Investment | 1,114 | 1,056 |
Impaired Financing Receivable, with No Related Allowance, Unpaid Principal Balance | 1,114 | 1,056 |
Impaired Financing Receivable, with No Related Allowance, Average Recorded Investment | 1,242 | 875 |
Impaired Financing Receivable, with No Related Allowance, Interest Income Recognized | 1 | 6 |
Impaired Financing Receivable, with Related Allowance, Unpaid Principal Balance | 0 | 0 |
Impaired Financing Receivable, Related Loan Loss Allowance | 0 | 0 |
Impaired Financing Receivable, with Related Allowance, Average Recorded Investment | 0 | 0 |
Impaired Financing Receivable, with Related Allowance, Interest Income Recognized | 0 | 0 |
Commercial Real Estate [Member] | | |
Financing Receivable, Impaired [Line Items] | | |
Impaired Financing Receivable, with No Related Allowance, Recorded Investment | 9,785 | 5,300 |
Impaired Financing Receivable, with No Related Allowance, Unpaid Principal Balance | 12,714 | 7,980 |
Impaired Financing Receivable, with No Related Allowance, Average Recorded Investment | 13,159 | 8,133 |
Impaired Financing Receivable, with No Related Allowance, Interest Income Recognized | 150 | 386 |
Impaired Financing Receivable, With Related Allowance, Recorded Investment | 8,028 | 5,548 |
Impaired Financing Receivable, with Related Allowance, Unpaid Principal Balance | 8,257 | 5,943 |
Impaired Financing Receivable, Related Loan Loss Allowance | 1,332 | 357 |
Impaired Financing Receivable, with Related Allowance, Average Recorded Investment | 9,061 | 6,026 |
Impaired Financing Receivable, with Related Allowance, Interest Income Recognized | 116 | 288 |
Home Equity Line of Credit [Member] | | |
Financing Receivable, Impaired [Line Items] | | |
Impaired Financing Receivable, with No Related Allowance, Recorded Investment | 291 | 320 |
Impaired Financing Receivable, with No Related Allowance, Unpaid Principal Balance | 501 | 527 |
Impaired Financing Receivable, with No Related Allowance, Average Recorded Investment | 501 | 528 |
Impaired Financing Receivable, with No Related Allowance, Interest Income Recognized | 4 | 20 |
Impaired Financing Receivable, With Related Allowance, Recorded Investment | 287 | 294 |
Impaired Financing Receivable, with Related Allowance, Unpaid Principal Balance | 351 | 350 |
Impaired Financing Receivable, Related Loan Loss Allowance | 120 | 127 |
Impaired Financing Receivable, with Related Allowance, Average Recorded Investment | 351 | 351 |
Impaired Financing Receivable, with Related Allowance, Interest Income Recognized | 6 | 17 |
Residential Real Estate [Member] | | |
Financing Receivable, Impaired [Line Items] | | |
Impaired Financing Receivable, with No Related Allowance, Recorded Investment | 3,388 | 3,685 |
Impaired Financing Receivable, with No Related Allowance, Unpaid Principal Balance | 3,518 | 3,914 |
Impaired Financing Receivable, with No Related Allowance, Average Recorded Investment | 3,531 | 3,964 |
Impaired Financing Receivable, with No Related Allowance, Interest Income Recognized | 35 | 145 |
Impaired Financing Receivable, With Related Allowance, Recorded Investment | 1,795 | 1,835 |
Impaired Financing Receivable, with Related Allowance, Unpaid Principal Balance | 1,875 | 1,911 |
Impaired Financing Receivable, Related Loan Loss Allowance | 212 | 216 |
Impaired Financing Receivable, with Related Allowance, Average Recorded Investment | 1,884 | 1,998 |
Impaired Financing Receivable, with Related Allowance, Interest Income Recognized | 22 | 217 |
Commercial and Industrial, Real Estate Loans [Member] | | |
Financing Receivable, Impaired [Line Items] | | |
Impaired Financing Receivable, with No Related Allowance, Recorded Investment | 842 | 116 |
Impaired Financing Receivable, with No Related Allowance, Unpaid Principal Balance | 909 | 1,110 |
Impaired Financing Receivable, with No Related Allowance, Average Recorded Investment | 914 | 1,640 |
Impaired Financing Receivable, with No Related Allowance, Interest Income Recognized | 9 | 1 |
Impaired Financing Receivable, With Related Allowance, Recorded Investment | 392 | 406 |
Impaired Financing Receivable, with Related Allowance, Unpaid Principal Balance | 392 | 417 |
Impaired Financing Receivable, Related Loan Loss Allowance | 17 | 22 |
Impaired Financing Receivable, with Related Allowance, Average Recorded Investment | 398 | 447 |
Impaired Financing Receivable, with Related Allowance, Interest Income Recognized | 5 | 22 |
Consumer Other Financing Receivable [Member] | | |
Financing Receivable, Impaired [Line Items] | | |
Impaired Financing Receivable, with No Related Allowance, Recorded Investment | 0 | 0 |
Impaired Financing Receivable, with No Related Allowance, Unpaid Principal Balance | 0 | 0 |
Impaired Financing Receivable, with No Related Allowance, Average Recorded Investment | 0 | 0 |
Impaired Financing Receivable, with No Related Allowance, Interest Income Recognized | 0 | 0 |
Impaired Financing Receivable, With Related Allowance, Recorded Investment | 0 | 0 |
Impaired Financing Receivable, with Related Allowance, Unpaid Principal Balance | 0 | 0 |
Impaired Financing Receivable, Related Loan Loss Allowance | 0 | 0 |
Impaired Financing Receivable, with Related Allowance, Average Recorded Investment | 0 | 0 |
Impaired Financing Receivable, with Related Allowance, Interest Income Recognized | 0 | 0 |
Impaired Loans [Member] | | |
Financing Receivable, Impaired [Line Items] | | |
Impaired Financing Receivable, With Related Allowance, Recorded Investment | 25,922 | 18,560 |
Impaired Financing Receivable, with Related Allowance, Unpaid Principal Balance | 29,631 | 23,208 |
Impaired Financing Receivable, Related Loan Loss Allowance | 1,681 | 722 |
Impaired Financing Receivable, with Related Allowance, Average Recorded Investment | 31,041 | 23,962 |
Impaired Financing Receivable, with Related Allowance, Interest Income Recognized | $348 | $1,102 |