Quarterly report pursuant to Section 13 or 15(d)

Balance Sheet Components - Additional Information (Details)

v3.10.0.1
Balance Sheet Components - Additional Information (Details) - USD ($)
3 Months Ended 6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2018
Jun. 30, 2017
Property Plant And Equipment [Line Items]        
Loss on disposal of property and equipment     $ 97,000  
Leasehold Improvements        
Property Plant And Equipment [Line Items]        
Incentive received from landlord to construct leasehold improvements     3,200,000  
Leasehold Improvements, Laboratory Equipment and Office Equipment        
Property Plant And Equipment [Line Items]        
Loss on disposal of property and equipment $ 0 $ 0 $ 97,000 $ 0