XML 43 R31.htm IDEA: XBRL DOCUMENT v3.7.0.1
INCOME TAXES (Tables)
6 Months Ended
Jun. 30, 2017
Income Tax Disclosure [Abstract]  
Schedule of Income before Income Tax, Domestic and Foreign
Income (loss) before income taxes is as follows (in thousands):
 
Three Months Ended 
 June 30,
 
Six Months Ended 
 June 30,
 
2017
 
2016
 
2017
 
2016
Loss before income taxes:
 
 
 
 
 
 
 
   Domestic
$
(18,950
)
 
$
(7,526
)
 
$
(38,269
)
 
$
(11,025
)
   Foreign
(763
)
 
(374
)
 
(1,280
)
 
(697
)
      Total loss before income taxes
$
(19,713
)
 
$
(7,900
)
 
$
(39,549
)
 
$
(11,722
)