XML 33 R22.htm IDEA: XBRL DOCUMENT v3.19.1
SIGNIFICANT ACCOUNTING POLICIES (Condensed consolidated statements of cash flows) (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2018
Jun. 30, 2017
Cash flows from operating activities:        
Net loss $ (8,462) $ 450 $ (15,701) $ (58,698)
Increase (decrease) in contracts liability     41 1,088
Net cash used in operating activities     (17,377) $ (17,045)
Previously Reported [Member]        
Cash flows from operating activities:        
Net loss (11,294)   (20,694)  
Increase (decrease) in contracts liability     5,034  
Net cash used in operating activities     (17,377)  
Restatement Adjustment [Member]        
Cash flows from operating activities:        
Net loss $ 2,832   4,993  
Increase (decrease) in contracts liability     (4,993)  
Net cash used in operating activities     $ 0