Quarterly report pursuant to Section 13 or 15(d)

Leases (Details)

v3.20.2
Leases (Details) - USD ($)
3 Months Ended 6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Jun. 30, 2020
Jun. 30, 2019
Dec. 31, 2019
Leases [Abstract]          
Operating Lease, Weighted Average Discount Rate, Percent 5.00%   5.00%   5.00%
Operating Lease, Weighted Average Remaining Lease Term 2 years 4 months 24 days   2 years 4 months 24 days   2 years 10 months 24 days
Operating Leases, Future Minimum Payments Due, Fiscal Year Maturity [Abstract]          
Operating Leases, Future Minimum Payments, Remainder of Fiscal Year $ 2,646,000   $ 2,646,000    
Operating Leases, Future Minimum Payments, Due in Two Years 5,160,000   5,160,000    
Operating Leases, Future Minimum Payments, Due in Three Years 3,547,000   3,547,000    
Operating Leases, Future Minimum Payments, Due in Four Years 1,014,000   1,014,000    
Total minimum payments 12,367,000   12,367,000    
Less: imputed interest (758,000)   (758,000)    
Less: unrealized translation loss     (4,000)    
Operating Lease, Liability 11,605,000   11,605,000    
Operating Lease, Liability, Current, Statement of Financial Position [Extensible List] (4,772,000)   (4,772,000)   $ (4,810,000)
Operating Lease, Liability, Noncurrent 6,833,000   6,833,000   9,335,000
Lessee, Operating Sublease, Description [Abstract]          
2020 (6 months) 317,000   317,000    
2021 546,000   546,000    
2022 488,000   488,000    
2023 291,000   291,000    
Total minimum rental income $ 1,642,000   $ 1,642,000    
Lessee, Lease, Description [Line Items]          
Lessee, Operating Lease, Renewal Term 5 years   5 years    
Short-term lease liabilities $ 4,772,000   $ 4,772,000   4,810,000
Long-term lease liabilities $ 6,833,000   $ 6,833,000   $ 9,335,000
Operating Lease, Weighted Average Remaining Lease Term 2 years 4 months 24 days   2 years 4 months 24 days   2 years 10 months 24 days
Right-of-Use Asset Obtained in Exchange for Operating Lease Liability $ 0 $ 500,000 $ 0 $ 500,000  
Lease, Cost [Abstract]          
Operating Lease, Cost 900,000 800,000 1,800,000 1,700,000  
Right-of-Use Asset Obtained in Exchange for Operating Lease Liability 0 500,000 0 500,000  
Operating Leases, Rent Expense, Sublease Rentals $ 200,000 $ 1,000,000.0 $ 300,000 $ 1,600,000  
Minimum [Member]          
Lessee, Lease, Description [Line Items]          
Lessee, Operating Lease, Term of Contract 3 years   3 years    
Maximum [Member]          
Lessee, Lease, Description [Line Items]          
Lessee, Operating Lease, Term of Contract 5 years   5 years