Annual report pursuant to Section 13 and 15(d)

Fair Value Measurements and Short-Term Investments - Summary of Changes in Estimated Fair Value of Redeemable Convertible Preferred Stock Warrant Liability (Details)

v3.19.1
Fair Value Measurements and Short-Term Investments - Summary of Changes in Estimated Fair Value of Redeemable Convertible Preferred Stock Warrant Liability (Details) - Redeemable Convertible Preferred Stock Warrant Liability - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2018
Dec. 31, 2017
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Beginning Balance $ 1,708 $ 1,193
Estimated fair value of warrants issued   329
Changes in estimated fair value of warrant liability included in other income (expense), net (841) 186
Reclassification of redeemable convertible preferred stock warrantliability to other income upon expiration (133)  
Reclassification of redeemable convertible preferred stock warrantliability to additional paid-in-capital due to conversion tocommon stock warrants upon completion of IPO $ (734)  
Ending Balance   $ 1,708