STOCK CAPITAL (Details 1) - USD ($) $ / shares in Units, $ in Thousands |
12 Months Ended |
Dec. 31, 2017 |
Dec. 31, 2016 |
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |
|
|
| Amount of options, Outstanding at beginning of period |
874,841
|
|
| Amount of options, Outstanding at end of period |
940,954
|
874,841
|
| Employee Stock Option [Member] |
|
|
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |
|
|
| Amount of options, Outstanding at beginning of period |
874,841
|
1,002,451
|
| Amount of options, Granted |
240,446
|
70,667
|
| Amount of options, Exercised |
(129,888)
|
0
|
| Amount of options, Cancelled |
(44,445)
|
(198,277)
|
| Amount of options, Outstanding at end of period |
940,954
|
874,841
|
| Amount of options, Vested and expected-to-vest at end of period |
811,824
|
839,509
|
| Weighted average exercise price, Outstanding at beginning of period (in dollars per share) |
$ 2.1258
|
$ 2.6072
|
| Weighted average exercise price, Granted (in dollars per share) |
3.5178
|
0.75
|
| Weighted average exercise price, Exercised (in dollars per share) |
3.9175
|
0
|
| Weighted Average exercise Price, Cancelled (in dollars per share) |
1.6104
|
4.0691
|
| Weighted average exercise price, Outstanding at end of period (in dollars per share) |
2.4681
|
2.1258
|
| Weighted average exercise price, Vested and expected-to-vest at end of period (in dollars per share) |
$ 2.3317
|
$ 2.1837
|
| Aggregate intrinsic value, Outstanding at end of period (in dollars) |
$ 1,366,213
|
$ 362,336
|
| Aggregate intrinsic value, Vested and expected-to-vest at end of period (in dollars) |
$ 1,289,457
|
$ 299,088
|