Quarterly report pursuant to Section 13 or 15(d)

Net Loss Per Share - Summary of Common Stock Equivalents of Antidilutive Securities Excluded from Computation of Diluted Net Loss per Share (Details)

v3.10.0.1
Net Loss Per Share - Summary of Common Stock Equivalents of Antidilutive Securities Excluded from Computation of Diluted Net Loss per Share (Details) - shares
9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of net loss per share 19,530,560 6,004,104
Redeemable Convertible Preferred Stock    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of net loss per share 16,028,462 5,063,404
Options to Purchase Common Stock    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of net loss per share 3,383,756 840,160
Warrants to Purchase Redeemable Convertible Preferred Stock    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of net loss per share 117,400 93,527
Warrants to Purchase Common Stock    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of net loss per share 942 1,099
Early Exercised Shares of Common Stock    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of net loss per share 0 5,914