Income taxes (Details) - USD ($) $ in Thousands |
Dec. 31, 2016 |
Dec. 31, 2015 |
|---|---|---|
| Deferred tax assets | ||
| Net operating loss carryforward | $ 7,471 | $ 8,475 |
| Capital loss carryforward | 14 | 69 |
| State net operating loss carryfoward | 50 | 11 |
| Allowance for loan losses | 1,147 | 1,211 |
| Unrealized loss on available-for-sale securities | 93 | 226 |
| Interest on nonaccrual loans | 41 | 50 |
| Expenses and writedowns related to foreclosed property | 883 | 991 |
| Stock compensation | 253 | 140 |
| Employee benefits | 1,079 | 1,015 |
| Pension expense | 31 | 35 |
| Depreciation | 144 | 0 |
| Lease Obligation | 74 | 0 |
| Other, net | 71 | 38 |
| Goodwill | 23 | 39 |
| Total deferred tax assets | 11,374 | 12,300 |
| Deferred tax liabilities | ||
| Depreciation | 0 | 43 |
| Amortization of intangibles | 1 | 34 |
| Total deferred tax liabilities | 1 | 77 |
| Net deferred tax asset prior to valuation allowance | 11,373 | 12,223 |
| Less Unrealized gain on available-for-sale securities | 0 | (226) |
| Net deferred tax asset subject to valuation allowance | 0 | 11,997 |
| Less valuation allowance | 0 | 11,997 |
| Net deferred tax asset | $ 11,373 | $ 226 |