Investments in Marketable Securities (Tables)
|
12 Months Ended |
Dec. 31, 2017 |
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, 2017 |
|
|
December 31, 2016 |
|
|
|
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
|
|
$ |
57,712 |
|
|
$ |
— |
|
|
$ |
(88 |
) |
|
$ |
57,624 |
|
|
$ |
24,987 |
|
|
$ |
— |
|
|
$ |
(30 |
) |
|
$ |
24,957 |
|
U.S. government sponsored entities
|
|
|
7,016 |
|
|
|
— |
|
|
|
(8 |
) |
|
|
7,008 |
|
|
|
2,497 |
|
|
|
— |
|
|
|
— |
|
|
|
2,497 |
|
Corporate debt securities
|
|
|
8,931 |
|
|
|
— |
|
|
|
(3 |
) |
|
|
8,928 |
|
|
|
— |
|
|
|
— |
|
|
|
— |
|
|
|
— |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$ |
73,659 |
|
|
$ |
— |
|
|
$ |
(99 |
) |
|
$ |
73,560 |
|
|
$ |
27,484 |
|
|
$ |
— |
|
|
$ |
(30 |
) |
|
$ |
27,454 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Long-term investments:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
U.S. treasuries
|
|
$ |
18,111 |
|
|
$ |
7 |
|
|
$ |
(164 |
) |
|
$ |
17,954 |
|
|
$ |
40,865 |
|
|
$ |
— |
|
|
$ |
(229 |
) |
|
$ |
40,636 |
|
U.S. government sponsored entities
|
|
|
5,306 |
|
|
|
— |
|
|
|
(62 |
) |
|
|
5,244 |
|
|
|
12,618 |
|
|
|
— |
|
|
|
(58 |
) |
|
|
12,560 |
|
Corporate debt securities
|
|
|
22,505 |
|
|
|
268 |
|
|
|
(54 |
) |
|
|
22,719 |
|
|
|
17,841 |
|
|
|
74 |
|
|
|
(165 |
) |
|
|
17,750 |
|
Asset-backed securities and other
|
|
|
6,180 |
|
|
|
17 |
|
|
|
(15 |
) |
|
|
6,182 |
|
|
|
6,557 |
|
|
|
18 |
|
|
|
(46 |
) |
|
|
6,529 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$ |
52,102 |
|
|
$ |
292 |
|
|
$ |
(295 |
) |
|
$ |
52,099 |
|
|
$ |
77,881 |
|
|
$ |
92 |
|
|
$ |
(498 |
) |
|
$ |
77,475 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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, 2017 |
|
|
December 31, 2016 |
|
|
|
Unrealized
Loss |
|
|
Fair
Value |
|
|
Unrealized
Loss |
|
|
Fair
Value |
|
Less than 12 months
|
|
$ |
(158 |
) |
|
$ |
63,229 |
|
|
$ |
(491 |
) |
|
$ |
86,105 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 months or longer
|
|
$ |
(236 |
) |
|
$ |
44,961 |
|
|
$ |
(37 |
) |
|
$ |
721 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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, |
|
|
|
2017 |
|
|
2016 |
|
Gross realized gains (1)
|
|
$ |
2 |
|
|
$ |
43 |
|
|
|
|
|
|
|
|
|
|
Gross realized losses (1)
|
|
$ |
— |
|
|
$ |
(166 |
) |
|
|
|
|
|
|
|
|
|
(1) |
Recorded in other income (expense),
net in the consolidated statements of net and comprehensive income.
The cost basis of securities sold were determined 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, 2017 |
|
|
December 31, 2016 |
|
|
|
Amortized
Cost |
|
|
Fair
Value |
|
|
Amortized
Cost |
|
|
Fair
Value |
|
Due in one year or less
|
|
$ |
73,659 |
|
|
$ |
73,560 |
|
|
$ |
27,484 |
|
|
$ |
27,454 |
|
Due after one year through five years
|
|
|
30,644 |
|
|
|
30,517 |
|
|
|
57,309 |
|
|
|
57,144 |
|
Due after five years through ten years
|
|
|
15,090 |
|
|
|
15,200 |
|
|
|
14,992 |
|
|
|
14,841 |
|
Due after ten years
|
|
|
6,368 |
|
|
|
6,382 |
|
|
|
5,580 |
|
|
|
5,490 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$ |
125,761 |
|
|
$ |
125,659 |
|
|
$ |
105,365 |
|
|
$ |
104,929 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Weighted average maturity
|
|
|
2.6 years |
|
|
|
|
|
|
|
3.5 years |
|
|
|