STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY (Parenthetical) $ in Thousands |
Dec. 31, 2016
USD ($)
|
|---|---|
| Statement of Stockholders' Equity [Abstract] | |
| Accumulated unrealized loss from available-for-sale securities, taxes | $ 77 |
| Accumulated unrealized loss from hedging activities, taxes | $ 1 |