| Schedule of Disaggregation of Revenue | 
 The following tables present further disaggregation of our revenues by different categories for our Services and Treatment Segments: 
  
    | Revenue by Contract Type | 
  | 
      | 
  | 
  | 
      | 
  | 
  | 
      | 
  | 
  | 
      | 
  | 
  | 
      | 
  | 
  | 
      | 
  | 
 
    | (In thousands) | 
  | 
    Three Months Ended | 
  | 
  | 
    Three Months Ended | 
  | 
 
    |   | 
  | 
    June 30, 2019 | 
  | 
  | 
    June 30, 2018 | 
  | 
 
    |   | 
  | 
    Treatment | 
  | 
  | 
    Services | 
  | 
  | 
    Total | 
  | 
  | 
    Treatment | 
  | 
  | 
    Services | 
  | 
  | 
    Total | 
  | 
 
    | Fixed price | 
  | 
    $ | 
10,094 | 
  | 
  | 
    $ | 
2,709 | 
  | 
  | 
    $ | 
12,803 | 
  | 
  | 
    $ | 
9,146 | 
  | 
  | 
    $ | 
718 | 
  | 
  | 
    $ | 
9,864 | 
  | 
 
    | Time and materials | 
  | 
      | 
 ― | 
  | 
  | 
      | 
4,332 | 
  | 
  | 
      | 
4,332 | 
  | 
  | 
      | 
 ― | 
  | 
  | 
      | 
3,296 | 
  | 
  | 
      | 
3,296 | 
  | 
 
    | Total | 
  | 
    $ | 
10,094 | 
  | 
  | 
    $ | 
7,041 | 
  | 
  | 
    $ | 
17,135 | 
  | 
  | 
    $ | 
9,146 | 
  | 
  | 
    $ | 
4,014 | 
  | 
  | 
    $ | 
13,160 | 
  | 
 
 
  
    | Revenue by Contract Type | 
  | 
      | 
  | 
  | 
      | 
  | 
  | 
      | 
  | 
  | 
      | 
  | 
  | 
      | 
  | 
  | 
      | 
  | 
 
    | (In thousands) | 
  | 
    Six Months Ended | 
  | 
  | 
    Six Months Ended | 
  | 
 
    |   | 
  | 
    June 30, 2019 | 
  | 
  | 
    June 30, 2018 | 
  | 
 
    |   | 
  | 
    Treatment | 
  | 
  | 
    Services | 
  | 
  | 
    Total | 
  | 
  | 
    Treatment | 
  | 
  | 
    Services | 
  | 
  | 
    Total | 
  | 
 
    | Fixed price | 
  | 
    $ | 
19,999 | 
  | 
  | 
    $ | 
3,137 | 
  | 
  | 
    $ | 
23,136 | 
  | 
  | 
    $ | 
18,105 | 
  | 
  | 
    $ | 
808 | 
  | 
  | 
    $ | 
18,913 | 
  | 
 
    | Time and materials | 
  | 
      | 
 ― | 
  | 
  | 
      | 
5,707 | 
  | 
  | 
      | 
5,707 | 
  | 
  | 
      | 
 ― | 
  | 
  | 
      | 
6,904 | 
  | 
  | 
      | 
6,904 | 
  | 
 
    | Total | 
  | 
    $ | 
19,999 | 
  | 
  | 
    $ | 
8,844 | 
  | 
  | 
    $ | 
28,843 | 
  | 
  | 
    $ | 
18,105 | 
  | 
  | 
    $ | 
7,712 | 
  | 
  | 
    $ | 
25,817 | 
  | 
 
 
  
    | Revenue by generator | 
  | 
      | 
  | 
  | 
      | 
  | 
  | 
      | 
  | 
  | 
      | 
  | 
  | 
      | 
  | 
  | 
      | 
  | 
 
    | (In thousands) | 
  | 
    Three Months Ended | 
  | 
  | 
    Three Months Ended | 
  | 
 
    |   | 
  | 
    June 30, 2019 | 
  | 
  | 
    June 30, 2018 | 
  | 
 
    |   | 
  | 
    Treatment | 
  | 
  | 
    Services | 
  | 
  | 
    Total | 
  | 
  | 
    Treatment | 
  | 
  | 
    Services | 
  | 
  | 
    Total | 
  | 
 
    | Domestic government | 
  | 
    $ | 
6,537 | 
  | 
  | 
    $ | 
4,842 | 
  | 
  | 
    $ | 
11,379 | 
  | 
  | 
    $ | 
6,011 | 
  | 
  | 
    $ | 
3,265 | 
  | 
  | 
    $ | 
9,276 | 
  | 
 
    | Domestic commercial | 
  | 
      | 
3,395 | 
  | 
  | 
      | 
855 | 
  | 
  | 
      | 
4,250 | 
  | 
  | 
      | 
3,135 | 
  | 
  | 
      | 
541 | 
  | 
  | 
      | 
3,676 | 
  | 
 
    | Foreign government | 
  | 
      | 
162 | 
  | 
  | 
      | 
1,323 | 
  | 
  | 
      | 
1,485 | 
  | 
  | 
      | 
 ― | 
  | 
  | 
      | 
185 | 
  | 
  | 
      | 
185 | 
  | 
 
    | Foreign commercial | 
  | 
      | 
 ― | 
  | 
  | 
      | 
21 | 
  | 
  | 
      | 
21 | 
  | 
  | 
      | 
 ― | 
  | 
  | 
      | 
23 | 
  | 
  | 
      | 
23 | 
  | 
 
    | Total | 
  | 
    $ | 
10,094 | 
  | 
  | 
    $ | 
7,041 | 
  | 
  | 
    $ | 
17,135 | 
  | 
  | 
    $ | 
9,146 | 
  | 
  | 
    $ | 
4,014 | 
  | 
  | 
    $ | 
13,160 | 
  | 
 
 
  
    | Revenue by generator | 
  | 
      | 
  | 
  | 
      | 
  | 
  | 
      | 
  | 
  | 
      | 
  | 
  | 
      | 
  | 
  | 
      | 
  | 
 
    | (In thousands) | 
  | 
    Six Months Ended | 
  | 
  | 
    Six Months Ended | 
  | 
 
    |   | 
  | 
    June 30, 2019 | 
  | 
  | 
    June 30, 2018 | 
  | 
 
    |   | 
  | 
    Treatment | 
  | 
  | 
    Services | 
  | 
  | 
    Total | 
  | 
  | 
    Treatment | 
  | 
  | 
    Services | 
  | 
  | 
    Total | 
  | 
 
    | Domestic government | 
  | 
    $ | 
14,449 | 
  | 
  | 
    $ | 
5,529 | 
  | 
  | 
    $ | 
19,978 | 
  | 
  | 
    $ | 
12,546 | 
  | 
  | 
    $ | 
6,383 | 
  | 
  | 
    $ | 
18,929 | 
  | 
 
    | Domestic commercial | 
  | 
      | 
5,274 | 
  | 
  | 
      | 
1,613 | 
  | 
  | 
      | 
6,887 | 
  | 
  | 
      | 
5,559 | 
  | 
  | 
      | 
943 | 
  | 
  | 
      | 
6,502 | 
  | 
 
    | Foreign government | 
  | 
      | 
220 | 
  | 
  | 
      | 
1,659 | 
  | 
  | 
      | 
1,879 | 
  | 
  | 
      | 
 ― | 
  | 
  | 
      | 
338 | 
  | 
  | 
      | 
338 | 
  | 
 
    | Foreign commercial | 
  | 
      | 
56 | 
  | 
  | 
      | 
43 | 
  | 
  | 
      | 
99 | 
  | 
  | 
      | 
 ― | 
  | 
  | 
      | 
48 | 
  | 
  | 
      | 
48 | 
  | 
 
    | Total | 
  | 
    $ | 
19,999 | 
  | 
  | 
    $ | 
8,844 | 
  | 
  | 
    $ | 
28,843 | 
  | 
  | 
    $ | 
18,105 | 
  | 
  | 
    $ | 
7,712 | 
  | 
  | 
    $ | 
25,817 | 
  | 
 
 
  
 | 
| Schedule of Contract Assets and Liabilities | 
 The
following table represents changes in our contract assets and contract liabilities balances: 
  
    |   | 
  | 
      | 
  | 
  | 
      | 
  | 
  | 
    Year-to-date | 
  | 
  | 
    Year-to-date | 
  | 
 
    | (In thousands) | 
  | 
    June 30, 2019 | 
  | 
  | 
    December 31, 2018 | 
  | 
  | 
    Change ($) | 
  | 
  | 
    Change (%) | 
  | 
 
    | Contract assets | 
  | 
      | 
  | 
  | 
  | 
      | 
  | 
  | 
  | 
      | 
  | 
  | 
  | 
      | 
  | 
  | 
 
    | Account receivables, net of allowance | 
  | 
    $ | 
7,747 | 
  | 
  | 
    $ | 
7,735 | 
  | 
  | 
    $ | 
12 | 
  | 
  | 
      | 
0.2 | 
% | 
 
    | Unbilled receivables - current | 
  | 
      | 
6,158 | 
  | 
  | 
      | 
3,105 | 
  | 
  | 
      | 
3,053 | 
  | 
  | 
      | 
98.3 | 
% | 
 
    |   | 
  | 
      | 
  | 
  | 
  | 
      | 
  | 
  | 
  | 
      | 
  | 
  | 
  | 
      | 
  | 
  | 
 
    | Contract liabilities | 
  | 
      | 
  | 
  | 
  | 
      | 
  | 
  | 
  | 
      | 
  | 
  | 
  | 
      | 
  | 
  | 
 
    | Deferred revenue | 
  | 
    $ | 
4,785 | 
  | 
  | 
    $ | 
6,595 | 
  | 
  | 
    $ | 
(1,810 | 
) | 
  | 
      | 
(27.4 | 
)% | 
 
 
 |