Quarterly report pursuant to Section 13 or 15(d)

Organization and Summary of Significant Accounting Policies (Details)

v3.8.0.1
Organization and Summary of Significant Accounting Policies (Details)
$ / shares in Units, $ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2017
USD ($)
Sep. 30, 2017
USD ($)
segment
$ / shares
Sep. 30, 2016
USD ($)
Accounting Policies [Abstract]      
Number of operating segments | segment   3  
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Net cash provided by (used in) operating activities   $ (29,559) $ 19,431
Share-based compensation, tax expense $ 1 $ 215  
Loss per share from share-based compensation tax expense (dollars per share) | $ / shares   $ 0.01  
Tax payments made on behalf of employees from withheld, vested shares of common stock   $ 885 163
Net cash provided by (used in) financing activities   $ (1,421) (603)
Accounting Standards Update 2016-09      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Net cash provided by (used in) operating activities     163
Net cash provided by (used in) financing activities     $ (163)