Investments and Fair Value of Financial Assets and Liabilities (Tables)
12 Months Ended
Dec. 31, 2018
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):

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

December 31, 2018

 

    

 

 

    

Gross

    

Gross

    

 

 

 

 

 

 

Unrealized

 

Unrealized

 

 

 

 

 

Amortized Cost

 

Gains

 

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 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

Marketable securities:

 

 

  

 

 

  

 

 

  

 

 

  

U.S. government agency bonds

 

 

 —

 

 

17,701

 

 

 —

 

 

17,701

U.S. treasury notes

 

 

 —

 

 

79,286

 

 

 —

 

 

79,286

 

 

$

282,160

 

$

121,891

 

$

 —

 

$

404,051

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Fair value measurements at December 31, 2017 using:

 

    

Level 1 

    

Level 2 

    

Level 3

    

Total 

Assets:

 

 

  

 

 

  

 

 

  

 

 

  

Cash equivalents:

 

 

  

 

 

  

 

 

  

 

 

  

Money market funds

 

$

104,288

 

$

 —

 

$

 —

 

$

104,288

Liabilities:

 

 

  

 

 

  

 

 

  

 

 

  

Preferred stock warrant liability

 

$

 —

 

$

 —

 

$

866

 

$

866

 

Roll-forward of aggregate fair values of preferred stock warrants for which fair value determined by Level 3 inputs

The following table provides a roll-forward of the aggregate fair values of the Company’s preferred stock warrants for which fair value was determined by Level 3 inputs (in thousands):

 

 

 

 

 

 

Preferred stock

 

    

warrant liability

Fair value at December 31, 2016

 

$

67

Issuance of warrants to purchase shares of Series B convertible preferred stock

 

 

14

Change in fair value

 

 

785

Fair value at December 31, 2017

 

 

866

Change in fair value through the exercise date

 

 

2,187

Reclassification to additional paid-in capital in connection with IPO

 

 

(3,053)

Fair value at December 31, 2018

 

$

 —