Investments and Fair Value of Financial Assets and Liabilities (Tables)
6 Months Ended
Jun. 30, 2019
Investments and Fair Value of Financial Assets and Liabilities  
Schedule of investments by security type

Investments by security type consisted of the following (in thousands):

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

June 30, 2019

 

 

Amortized Cost

 

Gross
Unrealized
Gains

 

Gross
Unrealized
Losses

 

Fair Value

U.S. treasury notes (due within one year)

 

$

188,030

 

$

268

 

$

 —

 

$

188,298

U.S. government agency bonds (due within one year)

 

 

32,926

 

 

22

 

 

 —

 

 

32,948

 

 

$

220,956

 

$

290

 

$

 —

 

$

221,246

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

December 31, 2018

 

 

Amortized Cost

 

Gross
Unrealized
Gains

 

Gross
Unrealized
Losses

 

Fair Value

U.S. treasury notes (due within one year)

 

$

79,312

 

$

 —

 

$

(26)

 

$

79,286

U.S. government agency bonds (due within one year)

 

 

17,704

 

 

 —

 

 

(3)

 

 

17,701

 

 

$

97,016

 

$

 —

 

$

(29)

 

$

96,987

 

Schedule of financial assets and liabilities measured at fair value on a recurring basis

The following tables present the Company’s fair value hierarchy for its assets and liabilities, which are measured at fair value on a recurring basis (in thousands):

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Fair value measurements at June 30, 2019 using:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

    

Level 1

    

Level 2

    

Level 3

    

Total

Assets:

 

 

  

 

 

  

 

 

  

 

 

  

Cash equivalents:

 

 

  

 

 

  

 

 

  

 

 

  

Money market funds

 

$

141,084

 

$

 —

 

$

 —

 

$

141,084

Investments:

 

 

 

 

 

 

 

 

 

 

 

  

U.S. government agency bonds

 

 

 —

 

 

32,948

 

 

 —

 

 

32,948

U.S. treasury notes

 

 

 —

 

 

137,150

 

 

 —

 

 

137,150

U.S. treasury bills

 

 

 —

 

 

51,148

 

 

 —

 

 

51,148

 

 

$

141,084

 

$

221,246

 

$

 —

 

$

362,330

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Fair value measurements at December 31, 2018 using:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

    

Level 1 

    

Level 2 

    

Level 3

    

Total 

Assets:

 

 

  

 

 

  

 

 

  

 

 

  

Cash equivalents:

 

 

  

 

 

  

 

 

  

 

 

  

Money market funds

 

$

282,160

 

$

 —

 

$

 —

 

$

282,160

U.S. treasury bills

 

 

 —

 

 

24,904

 

 

 —

 

 

24,904

Investments:

 

 

  

 

 

  

 

 

  

 

 

  

U.S. government agency bonds

 

 

 —

 

 

17,701

 

 

 —

 

 

17,701

U.S. treasury notes

 

 

 —

 

 

79,286

 

 

 —

 

 

79,286

 

 

$

282,160

 

$

121,891

 

$

 —

 

$

404,051