XML 83 R58.htm IDEA: XBRL DOCUMENT v3.8.0.1
Stock-Based Compensation - Summary of Stock-Based Compensation Expense by Line Items in Consolidated Statements of Operations (Detail) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]      
Stock-based compensation expense $ 26,143 $ 15,760 $ 7,325
Cost of Revenue [Member]      
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]      
Stock-based compensation expense 1,878 1,094 621
Research and Development [Member]      
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]      
Stock-based compensation expense 4,601 3,182 1,401
Selling, General and Administrative [Member]      
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]      
Stock-based compensation expense $ 19,664 $ 11,484 $ 5,303