Stock-Based Awards - Additional Information (Detail) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Jan. 01, 2015
Dec. 31, 2015
Dec. 31, 2014
Dec. 31, 2013
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Options granted to purchase shares of common stock   680,231    
Unvested service-based stock options held by nonemployees   6,195    
Aggregate intrinsic value of stock options exercised   $ 3,192 $ 323 $ 38
Weighted average fair value of stock option granted   $ 18.12 $ 6.55 $ 1.51
Unrecognized stock-based compensation cost   $ 11,325    
Weighted average period of unrecognized stock-based compensation cost expected to be recognized   2 years 9 months 18 days    
Restricted Common Stock [Member]        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Aggregate intrinsic value of restricted stock award vested   $ 265 $ 1,142 $ 278
Common Stock [Member]        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Issuance of common stock in connection with employee stock purchase plan, shares   20,916 5,395  
2014 Stock Incentive Plan [Member]        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Options granted to purchase shares of common stock   680,231 753,886 357,152
2014 Stock Incentive Plan [Member] | Maximum [Member]        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock options vesting period   4 years    
2014 Stock Incentive Plan [Member] | Minimum [Member]        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock options vesting period   3 years    
2014 Stock Incentive Plan [Member] | Common Stock [Member]        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Number of shares of common stock authorized for issuance 2,126,907   1,336,907  
Number of shares of common stock available for issuance   1,437,146    
Increased number of shares of common stock reserved for issuance 1,659,218      
Additional number of shares of common stock , percentage 4.00%      
2014 Employee Stock Purchase Plan [Member] | Common Stock [Member]        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Number of shares of common stock authorized for issuance 232,402 232,402 207,402  
Number of shares of common stock available for issuance   206,091    
Increased number of shares of common stock reserved for issuance 207,402      
Additional number of shares of common stock , percentage 0.50%      
Issuance of common stock in connection with employee stock purchase plan, shares   20,916 5,395