XML 56 R45.htm IDEA: XBRL DOCUMENT v3.8.0.1
Income Taxes (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2017
Sep. 30, 2016
Sep. 30, 2017
Sep. 30, 2016
Jan. 01, 2017
Dec. 31, 2016
Operating Loss Carryforwards [Line Items]            
(Benefit from) provision for income taxes $ 3,068 $ 3,221 $ (8,586) $ 8,417    
Effective income tax rate 26.60% 39.20% (29.60%) 38.70%    
Benefit recognized for excess tax benefits related to stock-based compensation $ 1,300   $ 19,500      
Unrecognized tax benefits 4,500   4,500     $ 4,100
Unrecognized tax benefits that would impact effective tax rate $ 2,600   $ 2,600     2,400
ASU 2016-09            
Operating Loss Carryforwards [Line Items]            
Decrease to deferred tax assets         $ (7,900)  
ASU 2016-09 | Retained Earnings            
Operating Loss Carryforwards [Line Items]            
Cumulative effect adjustment         $ (500) $ 8,400