Investments in Marketable Securities (Tables)
|
12 Months Ended |
Dec. 31, 2018 |
Investments, Debt and Equity Securities [Abstract] |
|
Schedule of Amortized Cost and Fair Value of Marketable Securities, Available-for-Sale, by Type of Security |
Amortized cost and fair value of marketable securities,
available-for-sale, by type of
security consisted of the following (in thousands):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
December 31, 2018 |
|
|
December 31, 2017 |
|
|
|
Amortized
Cost |
|
|
Gross
Unrealized
Gains |
|
|
Gross
Unrealized
Losses |
|
|
Fair
Value
|
|
|
Amortized
Cost |
|
|
Gross
Unrealized
Gains |
|
|
Gross
Unrealized
Losses |
|
|
Fair
Value
|
|
Short-term investments:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
U.S. treasuries
|
|
$ |
121,252 |
|
|
$ |
7 |
|
|
$ |
(79 |
) |
|
$ |
121,180 |
|
|
$ |
57,712 |
|
|
$ |
— |
|
|
$ |
(88 |
) |
|
$ |
57,624 |
|
U.S. government sponsored entities
|
|
|
3,512 |
|
|
|
— |
|
|
|
(7 |
) |
|
|
3,505 |
|
|
|
7,016 |
|
|
|
— |
|
|
|
(8 |
) |
|
|
7,008 |
|
Corporate debt securities
|
|
|
11,962 |
|
|
|
— |
|
|
|
(11 |
) |
|
|
11,951 |
|
|
|
8,931 |
|
|
|
— |
|
|
|
(3 |
) |
|
|
8,928 |
|
Asset-backed securities and other
|
|
|
806 |
|
|
|
— |
|
|
|
(6 |
) |
|
|
800 |
|
|
|
— |
|
|
|
— |
|
|
|
— |
|
|
|
— |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$ |
137,532 |
|
|
$ |
7 |
|
|
$ |
(103 |
) |
|
$ |
137,436 |
|
|
$ |
73,659 |
|
|
$ |
— |
|
|
$ |
(99 |
) |
|
$ |
73,560 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Long-term investments:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
U.S. treasuries
|
|
$ |
44,997 |
|
|
$ |
128 |
|
|
$ |
(115 |
) |
|
$ |
45,010 |
|
|
$ |
18,111 |
|
|
$ |
7 |
|
|
$ |
(164 |
) |
|
$ |
17,954 |
|
U.S. government sponsored entities
|
|
|
1,569 |
|
|
|
— |
|
|
|
(62 |
) |
|
|
1,507 |
|
|
|
5,306 |
|
|
|
— |
|
|
|
(62 |
) |
|
|
5,244 |
|
Corporate debt securities
|
|
|
32,467 |
|
|
|
3 |
|
|
|
(633 |
) |
|
|
31,837 |
|
|
|
22,505 |
|
|
|
268 |
|
|
|
(54 |
) |
|
|
22,719 |
|
Asset-backed securities and other
|
|
|
4,889 |
|
|
|
12 |
|
|
|
(46 |
) |
|
|
4,855 |
|
|
|
6,180 |
|
|
|
17 |
|
|
|
(15 |
) |
|
|
6,182 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$ |
83,922 |
|
|
$ |
143 |
|
|
$ |
(856 |
) |
|
$ |
83,209 |
|
|
$ |
52,102 |
|
|
$ |
292 |
|
|
$ |
(295 |
) |
|
$ |
52,099 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Amortized Cost and Fair Value of Investments in Available for Sale Securities |
The amortized cost and fair value of the Company’s
investments in available-for-sale securities
that have been in a continuous unrealized loss position consisted
of the following (in thousands):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
December 31, 2018 |
|
|
December 31, 2017 |
|
|
|
Unrealized
Loss |
|
|
Fair Value |
|
|
Unrealized
Loss |
|
|
Fair
Value |
|
Less than 12 months
|
|
$ |
(576 |
) |
|
$ |
127,326 |
|
|
$ |
(158 |
) |
|
$ |
63,229 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 months or longer
|
|
$ |
(383 |
) |
|
$ |
30,609 |
|
|
$ |
(236 |
) |
|
$ |
44,961 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Gross Realized Gains and Losses from Sale of Available for Sale Securities |
Gross realized gains and gross realized losses from the sales of
the Company’s available-for-sale securities
consisted of the following (in thousands):
|
|
|
|
|
|
|
|
|
|
|
December 31, |
|
|
|
2018 |
|
|
2017 |
|
Gross realized gains(1)
|
|
$ |
12 |
|
|
$ |
2 |
|
|
|
|
|
|
|
|
|
|
Gross realized losses(1)
|
|
$ |
(2 |
) |
|
$ |
— |
|
|
|
|
|
|
|
|
|
|
(1) |
Recorded in other income (expense), net in the
consolidated statements of net and comprehensive income. The cost
basis of securities sold were determined based on the specific
identification method.
|
|
Schedule of Amortized Cost and Fair Value of Marketable Securities, Available-for-Sale, by Contractual Maturity |
Amortized cost and fair value of marketable securities,
available-for-sale, by
contractual maturity consisted of the following (in thousands):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
December 31, 2018 |
|
|
December 31, 2017 |
|
|
|
Amortized
Cost |
|
|
Fair Value |
|
|
Amortized
Cost |
|
|
Fair Value |
|
Due in one year or less
|
|
$ |
137,532 |
|
|
$ |
137,436 |
|
|
$ |
73,659 |
|
|
$ |
73,560 |
|
Due after one year through five years
|
|
|
61,875 |
|
|
|
61,846 |
|
|
|
30,644 |
|
|
|
30,517 |
|
Due after five years through ten years
|
|
|
17,310 |
|
|
|
16,747 |
|
|
|
15,090 |
|
|
|
15,200 |
|
Due after ten years
|
|
|
4,737 |
|
|
|
4,616 |
|
|
|
6,368 |
|
|
|
6,382 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$ |
221,454 |
|
|
$ |
220,645 |
|
|
$ |
125,761 |
|
|
$ |
125,659 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Weighted average contractual maturity
|
|
|
1.8 years |
|
|
|
|
|
|
|
2.6 years |
|
|
|
|
|
|