Accounting Policies - Additional Information (Detail) - USD ($)
3 Months Ended 12 Months Ended 36 Months Ended
Mar. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Dec. 31, 2016
Jan. 31, 2014
Feb. 28, 2013
Significant Accounting Policies [Line Items]              
Contract revenue   $ 16,238,000 $ 10,298,000 $ 286,000      
Liquid investments with a maturity   Three months or less          
Accrued capital expenditures   $ 100,000     $ 100,000    
Available for sale securities   0     0    
Payments for Royalties         0    
Gain from insurance proceeds, net   682,000          
Liability for uncertain income tax   $ 0 $ 0   $ 0    
Warrants exercise price   $ 1.01 $ 1.01 $ 1.01 $ 1.01 $ 4.50 $ 1.01
Subsequent Event [Member]              
Significant Accounting Policies [Line Items]              
Additional expense recognized due to adoption of new accounting policy $ 200,000            
Collaboration [Member]              
Significant Accounting Policies [Line Items]              
Contract revenue   $ 600,000          
Minimum [Member]              
Significant Accounting Policies [Line Items]              
Estimated useful life of long-lived assets   3 years          
Maximum [Member]              
Significant Accounting Policies [Line Items]              
Estimated useful life of long-lived assets   10 years