CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2016 |
Dec. 31, 2015 |
Dec. 31, 2014 |
|
| Statement of Comprehensive Income [Abstract] | |||
| Net income (loss): | $ 13,100 | $ 6,267 | $ (819) |
| Available-for-sale securities: | |||
| Changes in unrealized losses | (95) | (151) | (324) |
| Reclassification adjustments for (gains) losses included in net income | 9 | 78 | (6) |
| Net change | (86) | (73) | (330) |
| Cash flow hedges: | |||
| Changes in unrealized gains (losses) | 158 | 177 | (430) |
| Reclassification adjustments for (gains) losses included in net income | (161) | (104) | 382 |
| Net change | (3) | 73 | (48) |
| Other comprehensive loss before tax | (89) | (378) | |
| Income tax benefit related to components of other comprehensive loss | (11) | (17) | (23) |
| Other comprehensive income (loss), net of taxes | (78) | 17 | (355) |
| Comprehensive income (loss) | $ 13,022 | $ 6,284 | $ (1,174) |