Fair Value Measurements (Tables)
12 Months Ended
Dec. 31, 2016
Fair Value Measurements  
Schedule of fair value of assets and liabilities recorded at fair value on a recurring basis, by level within fair value hierarchy

        The following tables present information as of December 31, 2016 and 2015 about the Company's assets that are measured at fair value on a recurring basis and indicate the level of the fair value hierarchy the Company utilized to determine such fair values (in thousands):

                                                                                                                                                                                    

 

 

December 31, 2016

 

 

 

Fair Value Measured Using

 

 

 

 

 

Total
Balance

 

 

 

(Level 1)

 

(Level 2)

 

(Level 3)

 

Assets

 

 

 

 

 

 

 

 

 

 

 

 

 

Cash equivalents

 

$

2,999 

 

$

 

$

 

$

2,999 

 

Marketable securities

 

 

129,846 

 

 

 

 

 

 

129,846 

 

​  

​  

​  

​  

​  

​  

​  

​  

 

 

$

132,845 

 

$

 

$

 

$

132,845 

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

 

                                                                                                                                                                                    

 

 

December 31, 2015

 

 

 

Fair Value Measured Using

 

 

 

 

 

Total
Balance

 

 

 

(Level 1)

 

(Level 2)

 

(Level 3)

 

Assets

 

 

 

 

 

 

 

 

 

 

 

 

 

Cash equivalents

 

$

3,245 

 

$

 

$

 

$

3,245 

 

Marketable securities

 

 

90,281 

 

 

 

 

 

 

90,281 

 

​  

​  

​  

​  

​  

​  

​  

​  

 

 

$

93,526 

 

$

 

$

 

$

93,526 

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

 

Summary of changes in fair value of the Level 3 financial instruments measured on a recurring basis

        The following table presents the issuances, changes in fair value, exercise and reclassification of the Company's Level 3 financial instrument which is measured at fair value on a recurring basis (in thousands):

                                                                                                                                                                                    

 

 

Convertible
Preferred Stock
Call Option
Liability

 

Balance as of December 31, 2014

 

$

2,600

 

Change in fair value of convertible preferred stock liability through date of Series A second tranche issuance

 

 

17,600

 

Recognition of fair value upon issuance of second tranche Series A convertible preferred stock              

 

 

(20,200

)

​  

​  

Balance as of December 31, 2015

 

$

 

​  

​  

​  

​  

 

Schedule of fair value of available for sale marketable securities

        As of December 31, 2016 and 2015, the fair value of available for sale marketable securities by type of security were as follows (in thousands):

                                                                                                                                                                                    

 

 

December 31, 2016

 

 

 

Amortized
Cost

 

Gross
Unrealized
Gains

 

Gross
Unrealized
Losses

 

Fair
Value

 

U.S. Treasury securities

 

$

129,885

 

$

 

$

(39

)

$

129,846

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

 

                                                                                                                                                                                    

 

 

December 31, 2015

 

 

 

Amortized
Cost

 

Gross
Unrealized
Gains

 

Gross
Unrealized
Losses

 

Fair
Value

 

U.S. Treasury securities

 

$

90,326

 

$

 

$

(45

)

$

90,281

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​