Quarterly report pursuant to Section 13 or 15(d)

Nature of Business (Details)

v3.10.0.1
Nature of Business (Details) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended
Jan. 08, 2018
Feb. 28, 2018
Jan. 31, 2018
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2018
Jun. 30, 2017
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Stock Offering                    
Net loss       $ 14,047 $ 13,368 $ 28,510 $ 24,883 $ 54,000 $ 47,700 $ 29,800
Accumulated deficit       183,776   183,776   155,266    
Cash, cash equivalents and marketable securities       $ 124,366   $ 124,366   $ 72,049    
Common Stock | At-the-market sales facility                    
Stock Offering                    
Shares issued       1,373,677            
Aggregate gross proceeds       $ 16,600            
Common Stock | IPO                    
Stock Offering                    
Shares issued   4,188,481                
Share price (in dollars per share)   $ 9.55                
Aggregate gross proceeds   $ 40,000                
Underwriting commissions and fees   $ 3,000                
Common Stock | Over-allotment                    
Stock Offering                    
Shares issued   628,272                
Share price (in dollars per share)   $ 9.55                
Aggregate gross proceeds   $ 6,000                
Underwriting commissions and fees   $ 400                
Incyte | Stock Purchase Agreement                    
Stock Offering                    
Shares issued 793,021                  
Share price (in dollars per share) $ 12.61                  
Incyte | Common Stock | Private Placement                    
Stock Offering                    
Shares issued   144,505 793,021              
Aggregate gross proceeds   $ 1,400 $ 10,000