| Schedule of financial assets and liabilities measured at fair value on a recurring basis |
The components of the Company’s Level 1 and Level 2 assets are as follows: | | | | | | | | | | | | | | | | | | | | | | June 30, 2017 | | Amortized Cost | | Gross Unrealized Gain (Loss) | | Estimated Fair Value | | Cash equivalents | | Short-term investments | | (in thousands) | Level 1: | | | | | | | | | | Money market funds | 14,249 |
| | — |
| | 14,249 |
| | 14,249 |
| | — |
| | $ | 14,249 |
| | $ | — |
| | $ | 14,249 |
| | $ | 14,249 |
| | $ | — |
| Level 2: | | | | | | | | | | U.S. treasuries | 22,507 |
| | (27 | ) | | 22,480 |
| | — |
| | 22,480 |
| Corporate securities | 13,174 |
| | (11 | ) | | 13,163 |
| | — |
| | 13,163 |
| U.S. agency securities | 5,991 |
| | — |
| | 5,991 |
| | 2,995 |
| | 2,996 |
| Commercial paper | 8,971 |
| | — |
| | 8,971 |
| | 1,997 |
| | 6,974 |
| | $ | 50,643 |
| | $ | (38 | ) | | $ | 50,605 |
| | $ | 4,992 |
| | $ | 45,613 |
| Total | $ | 64,892 |
| | $ | (38 | ) | | $ | 64,854 |
| | $ | 19,241 |
| | $ | 45,613 |
|
| | | | | | | | | | | | | | | | | | | | | | December 31, 2016 | | Amortized Cost | | Gross Unrealized Gain (Loss) | | Estimated Fair Value | | Cash equivalents | | Short-term investments | | (in thousands) | Level 1: | | | | | | | | | | Money market funds | 25,244 |
| | — |
| | 25,244 |
| | 25,244 |
| | — |
| | $ | 25,244 |
| | $ | — |
| | $ | 25,244 |
| | $ | 25,244 |
| | — |
| Level 2: | | | | | | | | | | U.S. treasuries | 22,516 |
| | (19 | ) | | 22,497 |
| | — |
| | 22,497 |
| Corporate securities | 7,353 |
| | (12 | ) | | 7,341 |
| | — |
| | 7,341 |
| Commercial paper | 12,570 |
| | — |
| | 12,570 |
| | — |
| | 12,570 |
| | $ | 42,439 |
| | $ | (31 | ) | | $ | 42,408 |
| | $ | — |
| | 42,408 |
| Total | $ | 67,683 |
| | $ | (31 | ) | | $ | 67,652 |
| | $ | 25,244 |
| | $ | 42,408 |
|
|