XML 87 R68.htm IDEA: XBRL DOCUMENT v3.8.0.1
Net Loss per Share - Schedule of Common Stock Equivalents Excluded from Calculation of Diluted Net Loss Per Share, as Including them Would have Anti-dilutive Effect (Detail) - shares
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Common stock equivalents excluded from calculation of diluted net loss per share, as including them would have anti-dilutive effect 8,766 2,533
Shares Issuable Upon Conversion of the 2024 Convertible Notes [Member]    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Common stock equivalents excluded from calculation of diluted net loss per share, as including them would have anti-dilutive effect 5,017  
Stock Options [Member]    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Common stock equivalents excluded from calculation of diluted net loss per share, as including them would have anti-dilutive effect 3,602 2,345
Restricted Stock Units [Member]    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Common stock equivalents excluded from calculation of diluted net loss per share, as including them would have anti-dilutive effect 147 188