Annual report pursuant to Section 13 and 15(d)

Employee Benefit Plan - Additional Information (Detail)

v3.8.0.1
Employee Benefit Plan - Additional Information (Detail) - USD ($)
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Molecular Templates 401(k) Plan    
Defined Contribution Plan Disclosure [Line Items]    
Vesting period for Company's matching contribution 3 years  
Percentage of Company's matching contribution vested after year one 25.00%  
Percentage of Company's matching contribution vested after year two 50.00%  
Percentage of Company's matching contribution vested after year three 100.00%  
Employer discretionary contribution amount $ 0 $ 43,000
Threshold Pharmaceuticals 401(k) Plan    
Defined Contribution Plan Disclosure [Line Items]    
Employer discretionary contribution amount $ 0