Annual report pursuant to Section 13 and 15(d)

Fair Value Measurements - Summary of Changes in Fair Value of Convertible Preferred Stock Warrant Liability and Contingent Consideration (Details)

v3.10.0.1
Fair Value Measurements - Summary of Changes in Fair Value of Convertible Preferred Stock Warrant Liability and Contingent Consideration (Details) - Fair Value Measurements Recurring - Level 3 - Convertible Preferred Stock Warrant Liability - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation [Line Items]      
Beginning balance, fair value $ 0 $ 1,875 $ 1,351
Issuance of convertible preferred stock warrants   111  
Change in fair value recorded in other expense, net   3,725 524
Reclassification of unexercised warrant into additional paid-in capital upon the IPO   (5,711)  
Contingent consideration 750    
Ending balance, fair value $ 750 $ 0 $ 1,875