v3.10.0.1
STOCK CAPITAL (Tables)
6 Months Ended
Jun. 30, 2018
Disclosure of Compensation Related Costs, Share-based Payments [Abstract]  
Schedule of Composition of Common Stock Capital
   
Authorized
   
Issued and outstanding
 
   
Number of shares
 
   
  June 30,
2018
   
December 31,
2017
   
June 30,
2018
   
December 31,
2017
 
   
(unaudited)
         
(unaudited)
       
Stock of $0.0001 par value:
                       
Common stock
   
125,000,000
     
125,000,000
     
45,498,414
     
43,812,601
 
Schedule of Stock Option Activity
A summary of the activity in the share options granted to employees and members of the board of directors for the six months ended June 30, 2018 (unaudited) and related information follows:

               
Weighted
       
               
average
       
         
Weighted
   
remaining
       
   
Number
   
average
   
contractual
   
Aggregate
 
   
of
   
exercise
   
term
   
intrinsic
 
   
Options
   
price
   
in years
   
Value
 
                         
Outstanding as of December 31, 2017
   
3,524,310
     
7.40
     
6.35
     
106,251
 
Granted
   
180,983
     
38.05
                 
Exercised
   
(1,219,007
)
   
4.86
                 
Forfeited or expired
   
(22,677
)
   
8.46
                 
Outstanding as of June 30, 2018
   
2,463,609
     
10.90
     
6.68
     
91,022
 
                                 
Vested and expected to vest as of June 30, 2018
   
2,395,526
     
10.81
     
6.66
     
88,724
 
                                 
Exercisable as of June 30, 2018
   
1,564,382
     
7.12
     
5.93
     
63,722
 
Schedule of RSU Activity

d.
A summary of the activity in the RSUs granted to employees and members of the board of directors for the six months ended June 30, 2018 (unaudited) is as follows:

   
No. of
RSUs
   
Weighted average
grant date
fair value
 
Unvested as of December 31, 2017
   
2,087,992
     
24.33
 
Granted
   
531,729
     
48.15
 
Vested
   
(393,939
)
   
21.16
 
Forfeited
   
(125,989
)
   
6.62
 
Unvested as of June 30, 2018
   
2,099,793
     
30.71
 
Schedule of Options and RSUs Granted to Non-Employee Consultants
The Company has granted options and RSUs to purchase common shares to non-employee consultants as of June 30, 2018 (unaudited) as follows:

   
Outstanding
         
Exercisable
   
   
as of
         
as of
   
 
 
June 30,
   
Exercise
   
June 30,
 
Exercisable
Issuance Date
 
2018
   
price
   
2018
 
Through
                         
January 27, 2014
   
225
     
3.51
     
31
 
January 27, 2024
May 1, 2014
   
1,205
     
3.51
     
1,205
 
May 1, 2024
September 17, 2014
   
3,936
     
3.96
     
3,831
 
September 17, 2024
October 29, 2014
   
2,139
     
5.01
     
361
 
October 29, 2024
August 19, 2015
   
6,981
     
0.00
     
-
 
-
November 8, 2015
   
928
     
0.00
     
-
  -
April 18, 2016
   
834
     
0.00
     
-
  -
July 11, 2016
   
1,167
     
0.00
     
-
  -
September 21, 2016
   
2,500
     
15.34
     
250
 
September 21, 2026
September 21, 2016
   
3,938
     
0.00
     
-
  -
March 15, 2017
   
6,000
     
0.00
     
-
  -
March 15, 2017
   
6,500
     
13.70
     
500
 
March 15, 2027
March 27, 2017
   
3,000
     
0.00
     
-
 
-
November 20, 2017
   
5,250
     
0.00
     
-
  -
January 2, 2018
   
6,160
     
0.00
     
-
  -
                               
     
50,763
             
6,178
   
Schedule of Recognized Stock-Based Compensation Expense
The Company recognized stock-based compensation expenses related to stock options and RSUs granted to employees and non-employees and ESPP in the condensed consolidated statement of operations for the six months ended on June 30, 2018 (unaudited) and 2017 (unaudited), as follows:

   
Three months ended
June 30,
   
Six months ended
June 30,
 
   
2018
   
2017
   
2018
   
2017
 
                         
Cost of revenues
 
$
968
   
$
517
   
$
1,892
   
$
1,010
 
Research and development
   
2,605
     
1,280
     
4,987
     
2,485
 
Selling and marketing
   
2,094
     
1,204
     
4,298
     
2,234
 
General and administrative
   
1,461
     
1,033
     
2,800
     
1,917
 
                                 
Total stock-based compensation expense
 
$
7,128
   
$
4,034
   
$
13,977
   
$
7,646