XML 40 R29.htm IDEA: XBRL DOCUMENT v3.10.0.1
Basis of Presentation - Restricted Cash (Details) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Dec. 31, 2017
Dec. 31, 2016
New Accounting Pronouncements or Change in Accounting Principle [Line Items]        
Restricted cash   $ 0    
Net cash used in operating activities $ 903 (12,940)    
Net increase (decrease) in cash, cash equivalents and restricted cash (2,362) 1,472    
Cash, cash equivalents and restricted cash, end of period $ 18,897 11,366 $ 21,259 $ 9,894
Scenario, Previously Reported        
New Accounting Pronouncements or Change in Accounting Principle [Line Items]        
Restricted cash   (2,511)    
Net cash used in operating activities   (15,451)    
Net increase (decrease) in cash, cash equivalents and restricted cash   (1,039)    
Cash, cash equivalents and restricted cash, end of period   8,855    
Accounting Standards Update 2016-18        
New Accounting Pronouncements or Change in Accounting Principle [Line Items]        
Restricted cash   2,511    
Net cash used in operating activities   2,511    
Net increase (decrease) in cash, cash equivalents and restricted cash   2,511    
Cash, cash equivalents and restricted cash, end of period   $ 2,511