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
Jun. 30, 2018
USD ($)
RenewalOption
Apr. 14, 2018
USD ($)
Facility
Nov. 21, 2017
USD ($)
Facility
Jun. 30, 2018
USD ($)
RenewalOption
Jun. 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    
Sublease loss     800,000    
Sublease income       $ 400,000 $ 700,000
Sublease broker commissions   $ 89,000      
Restructuring Charges [Member]          
Commitments And Contingencies [Line Items]          
Sublease loss       600,000 600,000
Sublease Agreement Commenced on May 1,2018 [Member]          
Commitments And Contingencies [Line Items]          
Sublease income       $ 100,000 $ 100,000
Standby Letter of Credit [Member]          
Commitments And Contingencies [Line Items]          
Letter of credit amount     $ 1,000,000    
Funds drawn from letter of credit $ 0