Consolidated Statements of Comprehensive Loss (Unaudited) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2016
Sep. 30, 2015
Sep. 30, 2016
Sep. 30, 2015
Statement of Comprehensive Income [Abstract]        
Net loss $ (3,081) $ (18,927) $ (19,760) $ (46,193)
Other comprehensive (loss) income, net of tax        
Foreign currency translation adjustment, net of tax (102) (457) 302 (454)
Unrealized loss on available-for-sale securities (43) 0 (35) 0
Total other comprehensive (loss) income, net of tax (145) (457) 267 (454)
Total comprehensive loss $ (3,226) $ (19,384) $ (19,493) $ (46,647)