XML 94 R64.htm IDEA: XBRL DOCUMENT v3.6.0.2
Restructuring (Details) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Mar. 31, 2017
Dec. 31, 2016
Sep. 30, 2016
Jun. 30, 2016
Mar. 31, 2016
Dec. 31, 2015
Sep. 30, 2015
Jun. 30, 2015
Mar. 31, 2015
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Dec. 31, 2013
Organization, Consolidation and Presentation of Financial Statements [Abstract]                          
Net (loss) income   $ (7,805) $ (3,177) $ (3,916) $ (1,989) $ 1,284 $ 4,256 $ 2,111 $ 1,129 $ (16,887) $ 8,780 $ (5,845)  
Net (decrease) increase in cash and cash equivalents                   (18,011) 27,205 5,545  
Cash and cash equivalents   $ 16,629       $ 34,640       $ 16,629 $ 34,640 $ 7,435 $ 1,890
Scenario, forecast | Subsequent event                          
Subsequent Event [Line Items]                          
Restructuring charges $ 1,100