Summary of Significant Accounting Policies - Recently Adopted Accounting Pronouncements (Details) - USD ($)
12 Months Ended
Jan. 01, 2018
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Selected Quarterly Financial Data        
Additional paid-in capital   $ 543,040,000 $ 17,277,000  
Accumulated deficit   $ (150,082,000) $ (60,979,000)  
Change in the fair value of the unvested awards $ 100,000      
Assumptions used to determine the fair value of outstanding awards granted        
Expected volatility   74.00% 75.60% 77.20%
Non-employees        
Assumptions used to determine the fair value of outstanding awards granted        
Weighted average grant-date fair value (per share) $ 5.88      
Risk-free interest rate 2.30%      
Expected volatility 74.00%      
Expected term (in years) 6 years 1 month 6 days      
Common stock value $ 6.28      
Restricted Common Stock | Non-employees        
Assumptions used to determine the fair value of outstanding awards granted        
Number of outstanding options 4,767,014      
Stock options | Non-employees        
Assumptions used to determine the fair value of outstanding awards granted        
Number of outstanding options 330,917      
ASU 2018-07        
Selected Quarterly Financial Data        
Additional paid-in capital $ 17,185,000      
Accumulated deficit (60,887,000)      
Adjustments for New Accounting Principle, Early Adoption [Member] | ASU 2018-07        
Selected Quarterly Financial Data        
Additional paid-in capital (92,000)      
Accumulated deficit $ 92,000