XML 52 R37.htm IDEA: XBRL DOCUMENT v3.8.0.1
Income Taxes - Schedule of Reconciliation of the Federal Statutory Income Tax Rate and the Company's Effective Income Tax Rate (Detail)
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Income Tax Disclosure [Abstract]      
Federal statutory income tax rate (34.00%) (34.00%) (34.00%)
State income taxes (6.90%) (6.70%) (4.40%)
Intraperiod tax allocation     (6.70%)
Permanent items     2.20%
Research and development tax credits (3.40%) (2.80%) (1.80%)
Stock-based compensation 3.60% 1.90% 1.10%
Change in U.S. tax rate 18.70%    
Change in valuation allowance 22.00% 41.60% 36.00%
Effective income tax rate     (7.60%)