Quarterly report pursuant to Section 13 or 15(d)

Commitment and Contingencies - Additional Information (Details)

v3.10.0.1
Commitment and Contingencies - Additional Information (Details)
1 Months Ended
Sep. 30, 2018
USD ($)
Milestone
Jun. 30, 2018
USD ($)
Mar. 31, 2018
USD ($)
Apr. 30, 2017
USD ($)
Dec. 31, 2016
USD ($)
Dec. 31, 2018
USD ($)
Dec. 31, 2017
USD ($)
Jun. 30, 2016
USD ($)
Nov. 18, 2015
USD ($)
Other Commitments [Line Items]                  
Purchase obligation $ 1,742,000           $ 599,000 $ 2,903,000  
Pfizer License Agreement                  
Other Commitments [Line Items]                  
Milestone payments $ 7,500,000                
Number of clinical milestone payments | Milestone 2                
Pfizer License Agreement | Scenario Forcast                  
Other Commitments [Line Items]                  
Accrued milestone liability           $ 7,500,000      
Pfizer License Agreement | Minimum                  
Other Commitments [Line Items]                  
Potential future regulatory milestone and sales milestone payments upon achievement of net sales                 $ 250,000,000
Pfizer License Agreement | Maximum                  
Other Commitments [Line Items]                  
Potential future regulatory milestone and sales milestone payments upon achievement of net sales                 $ 1,000,000,000
Supplemental Agreement                  
Other Commitments [Line Items]                  
Purchase obligation   $ 2,380,000              
Commercial Unit Lease Agreement | Dublin                  
Other Commitments [Line Items]                  
Operating lease agreement, term of contract   20 years              
Operating lease agreement, break option term of contract   10 years              
Operating lease agreement, commencement period   2018-06              
Annual lease payments   $ 319,000              
Operating lease agreement, rental review   5 years              
Security deposit   $ 813,000              
Office Space Lease Agreement | Dublin                  
Other Commitments [Line Items]                  
Operating lease agreement, term of contract         10 years        
Annual lease payments         $ 335,000        
Operating lease agreement, renewal term         5 years        
Operating lease agreement, commencement date         Dec. 01, 2016        
Operating lease agreement, expiration date         Dec. 01, 2026        
Operating lease agreement, review period         2022-12        
Office Space Lease Agreement | Dublin | Other Assets                  
Other Commitments [Line Items]                  
Security deposit         $ 335,000        
Office Space Lease Agreement | Chicago                  
Other Commitments [Line Items]                  
Operating lease agreement, term of contract     5 years            
Operating lease agreement, commencement period     2018-06            
Annual lease payments     $ 258,000            
Security deposit     $ 120,000            
Operating lease agreement, renewal term     5 years            
Office Space Lease Agreement | Connecticut                  
Other Commitments [Line Items]                  
Operating lease agreement, term of contract       5 years          
Operating lease agreement, commencement period       2017-07          
Annual lease payments       $ 131,000          
Operating lease agreement, renewal term       3 years          
Office Space Lease Agreement | Connecticut | Other Assets                  
Other Commitments [Line Items]                  
Security deposit       $ 17,000