Annual report pursuant to Section 13 and 15(d)

Basis of Presentation and Summary of Significant Accounting Policies - Additional Information (Details)

v3.19.1
Basis of Presentation and Summary of Significant Accounting Policies - Additional Information (Details) - USD ($)
12 Months Ended
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Basis Of Presentation And Summary Of Significant Accounting Policies [Line Items]      
Restricted cash $ 15,000 $ 15,000 $ 275,000
Allowance for doubtful accounts receivable 0 0  
Accounts receivable, net (including amounts from related parties of $959 and $784 as of December 31, 2018 and 2017, respectively) 2,489,000 1,624,000  
Deferred offering costs $ 0 $ 500,000  
Antidilutive securities excluded from computation of net (loss) income per share 3,524,187 5,995,724 5,953,317
Shares of Common Stock subject to Repurchase      
Basis Of Presentation And Summary Of Significant Accounting Policies [Line Items]      
Antidilutive securities excluded from computation of net (loss) income per share 0 9,889 26,353
Research and Development Expense      
Basis Of Presentation And Summary Of Significant Accounting Policies [Line Items]      
Impairment of long-lived assets to be disposed of $ 0 $ 2,700,000 $ 0
Minimum      
Basis Of Presentation And Summary Of Significant Accounting Policies [Line Items]      
Property and equipment useful lives 3 years    
Maximum      
Basis Of Presentation And Summary Of Significant Accounting Policies [Line Items]      
Property and equipment useful lives 5 years