Quarterly report pursuant to Section 13 or 15(d)

Commitments and Contingencies - Additional Information (Details)

v3.10.0.1
Commitments and Contingencies - Additional Information (Details)
3 Months Ended 6 Months Ended 9 Months Ended
Sep. 30, 2018
USD ($)
RenewalOption
Jun. 30, 2018
USD ($)
Apr. 14, 2018
USD ($)
Facility
Nov. 21, 2017
USD ($)
Facility
Sep. 30, 2018
USD ($)
RenewalOption
Jun. 30, 2018
USD ($)
Jun. 30, 2018
USD ($)
Sep. 30, 2018
USD ($)
RenewalOption
Commitments And Contingencies [Line Items]                
Estimate of milestone payments $ 15,500,000       $ 15,500,000     $ 15,500,000
Operating leases, expiry date               2023-04
Operating leases, number of successive renewal options | RenewalOption 2       2     2
Operating leases, extended lease term 5 years       5 years     5 years
Operating leases, number of portions of leased facilities | Facility     1 1        
Operating leases, number of leased facilities | Facility     3 3        
Operating leases, sublease commencement date     May 01, 2018 Dec. 26, 2017        
Operating leases sublease income receivable     $ 1,100,000 $ 5,100,000        
Operating leases sublease expiry date     2023-04 2023-04        
Sublease tenant improvement allowance     $ 65,000 $ 800,000        
Restructuring Charges [Member]                
Commitments And Contingencies [Line Items]                
Sublease loss   $ 600,000            
Sublease Agreement Commenced on December 26, 2017 [Member]                
Commitments And Contingencies [Line Items]                
Sublease loss       800,000        
Sublease income         $ 400,000     $ 1,100,000
Sublease Agreement Commenced on December 26, 2017 [Member] | Standby Letter of Credit [Member]                
Commitments And Contingencies [Line Items]                
Letter of credit amount       $ 1,000,000        
Funds drawn from letter of credit $ 0              
Sublease Agreement Commenced on May 1,2018 [Member]                
Commitments And Contingencies [Line Items]                
Sublease income         $ 100,000     $ 200,000
Sublease broker commissions     $ 89,000          
Sublease Agreement Commenced on May 1,2018 [Member] | Restructuring Charges [Member]                
Commitments And Contingencies [Line Items]                
Sublease loss           $ 600,000 $ 600,000