Investments | 3. Investments Marketable Securities The following tables summarize our available-for-sale June 30, 2017 Amortized Cost Unrealized Gains Unrealized Losses Fair Value (In thousands) Corporate bonds $ 82,392 $ — $ (244 ) $ 82,148 US Treasury securities 39,289 — (71 ) 39,218 Commercial paper 3,469 — (4 ) 3,465 Agency securities 2,514 — (6 ) 2,508 Foreign bonds 5,758 — (30 ) 5,728 Total marketable securities $ 133,422 $ — $ (355 ) $ 133,067 December 31, 2016 Amortized Cost Unrealized Gains Unrealized Losses Fair Value (In thousands) Corporate bonds $ 24,027 $ — $ (33 ) $ 23,994 US Treasury securities 40,548 — (20 ) 40,528 Foreign bonds 2,995 — (5 ) 2,990 Total marketable securities $ 67,570 $ — $ (58 ) $ 67,512 The duration of the investments classified as marketable securities is as follows (in thousands): June 30, December 31, Short-term (due in one year or less) $ 51,959 $ 63,361 Long-term (due after one year) 81,108 4,151 Total marketable securities $ 133,067 $ 67,512 As of June 30, 2017, the following marketable securities were in an unrealized loss position (in thousands): Less than 12 months Greater than 12 months Total Fair Value Unrealized Losses Fair Value Unrealized Losses Fair Value Unrealized Losses Corporate bonds $ 82,148 $ (244 ) $ — $ — $ 82,148 $ (244 ) US Treasury securities 39,218 (71 ) — — 39,218 (71 ) Commercial paper 3,465 (4 ) — — 3,465 (4 ) Agency securities 2,508 (6 ) — — 2,508 (6 ) Foreign bonds 5,728 (30 ) — — 5,728 (30 ) Total marketable securities $ 133,067 $ (355 ) $ — $ — $ 133,067 $ (355 ) As of December 31, 2016, the following marketable securities were in an unrealized loss position (in thousands): Less than 12 months Greater than 12 months Total Fair Value Unrealized Losses Fair Value Unrealized Losses Fair Value Unrealized Losses Corporate bonds $ 22,342 $ (31 ) $ 1,652 $ (2 ) $ 23,994 $ (33 ) U.S. Treasury securities 38,029 (20 ) 2,499 — 40,528 (20 ) Foreign bonds 2,990 (5 ) — — 2,990 (5 ) Total marketable securities $ 63,361 $ (56 ) $ 4,151 $ (2 ) $ 67,512 $ (58 ) We do not believe any of the unrealized losses represent an other-than-temporary impairment based on our evaluation of available evidence as of June 30, 2017 and December 31, 2016. We expect to receive the full principal and interest on all of these marketable securities. Fair Value Measurement The following table presents information about our assets and liabilities that are measured at fair value and indicates the fair value hierarchy of the valuation (in thousands): As of June 30, 2017 Aggregate Fair Value Level 1 Level 2 Level 3 Assets: Money market $ 330 $ 330 $ — $ — Corporate bonds 82,148 — 82,148 — U.S. Treasury securities 39,218 — 39,218 — Commercial paper 3,465 — 3,465 — Agency securities 2,508 — 2,508 — Foreign bonds 5,728 — 5,728 — $ 133,397 $ 330 $ 133,067 $ — Reported as: Cash equivalents(1) $ 330 Investments, current 51,959 Investments, noncurrent 81,108 Total $ 133,397 As of December 31, 2016 Aggregate Fair Value Level 1 Level 2 Level 3 Assets: Money market $ 3,133 $ 3,133 $ — $ — Corporate bonds 23,994 — 23,994 — U.S. Treasury securities 40,528 — 40,528 — Foreign bonds 2,990 — 2,990 — $ 70,645 $ 3,133 $ 67,512 $ — Reported as: Cash equivalents(1) $ 3,133 Investments, current 63,361 Investments, noncurrent 4,151 Total $ 70,645 (1) Included in “cash and cash equivalents” in the accompanying condensed consolidated balance sheet as of June 30, 2017 and December 31, 2016, in addition to $203.6 million and $32.0 million of cash, respectively. |