XML 28 R10.htm IDEA: XBRL DOCUMENT v3.10.0.1
MARKETABLE SECURITIES
12 Months Ended
Dec. 31, 2018
Marketable Securities [Abstract]  
MARKETABLE SECURITIES
NOTE 3:-
MARKETABLE SECURITIES

The following is a summary of available-for-sale marketable securities at December 31, 2018:

   
Amortized
cost
   
Gross unrealized
gains
   
Gross unrealized
losses
   
Fair
value
 
                         
Available-for-sale – matures within one year:
                       
Corporate bonds
 
$
110,904
   
$
-
   
$
(519
)
 
$
110,385
 
Governmental bonds
   
8,343
     
-
     
(48
)
   
8,295
 
     
119,247
     
-
     
(567
)
   
118,680
 
                                 
Available for-sale – matures after one year:
                               
Corporate bonds
   
74,564
     
-
     
(308
)
   
74,256
 
     
74,564
     
-
     
(308
)
   
74,256
 
                                 
Total
 
$
193,811
   
$
-
   
$
(875
)
 
$
192,936
 

The following is a summary of available-for-sale marketable securities at December 31, 2017:

   
Amortized
cost
   
Gross unrealized
gains
   
Gross unrealized
losses
   
Fair
value
 
                         
Available for-sale – matures within one year:
                       
Corporate bonds
 
$
68,392
   
$
1
   
$
(121
)
 
$
68,272
 
Governmental bonds
   
9,019
     
-
     
(27
)
   
8,992
 
     
77,411
     
1
     
(148
)
   
77,264
 
                                 
Available for-sale – matures after one year:
                               
Corporate bonds
   
95,540
     
-
     
(380
)
   
95,160
 
Governmental bonds
   
8,023
     
-
     
(63
)
   
7,960
 
     
103,563
     
-
     
(443
)
   
103,120
 
                                 
Total
 
$
180,974
   
$
1
   
$
(591
)
 
$
180,384
 

The following is a summary of available-for-sale marketable securities at December 31, 2016:

   
Amortized
cost
   
Gross unrealized
gains
   
Gross unrealized
losses
   
Fair
value
 
                         
Available for-sale – matures within one year:
                       
Corporate bonds
 
$
71,753
   
$
20
   
$
(54
)
 
$
71,719
 
Governmental bonds
   
2,758
     
-
     
(12
)
   
2,746
 
     
74,511
     
20
     
(66
)
   
74,465
 
                                 
Available for-sale – matures after one year:
                               
Corporate bonds
   
39,435
     
3
     
(159
)
   
39,279
 
Governmental bonds
   
5,004
     
-
     
(21
)
   
4,983
 
     
44,439
     
3
     
(180
)
   
44,262
 
                                 
Total
 
$
118,950
   
$
23
   
$
(246
)
 
$
118,727
 

The following table presents gross unrealized losses and fair values for those investments that were in an unrealized loss position as of December 31, 2018, 2017 and 2016, based on the investments maturity date:

   
12 months or less
   
Greater than 12 months
 
   
Fair value
   
Gross unrealized losses
   
Fair value
   
Gross unrealized losses
 
                         
As of December 31, 2018
 
$
118,680
   
$
(567
)
 
$
74,256
   
$
(308
)
As of December 31, 2017
 
$
72,269
   
$
(148
)
 
$
103,116
   
$
(443
)
As of December 31, 2016
 
$
51,124
   
$
(66
)
 
$
39,373
   
$
(180
)

As of December 31, 2018, 2017 and 2016, management believes the unrealized losses are not other than temporary and therefore such unrealized losses were recorded in accumulated other comprehensive loss.

Proceeds from maturity of available-for-sale marketable securities during the years ended December 31, 2018, December 31, 2017, the six months ended December 31, 2016, and the year ended June 30, 2016, were $84,497, $80,269, $32,782 and $6,350, respectively. Proceeds from sales of available-for-sale marketable securities during the year ended December 31, 2018 were $44,848, which lead to a realized loss of $137.
 
During the years ended December 31, 2017, the six months ended December 31, 2016, and the year ended June 30, 2016, the Company had no proceeds from sales of available-for-sale marketable securities, therefore no realized gains or losses from the sale of available-for sale marketable securities were recognized. The Company determines realized gains or losses from the sale of available-for-sale marketable securities based on the specific identification method.