Quarterly report pursuant to Section 13 or 15(d)

Leases (Details)

v3.19.2
Leases (Details) - USD ($)
3 Months Ended 6 Months Ended
Jun. 30, 2019
Jun. 30, 2018
Jun. 30, 2019
Jun. 30, 2018
Dec. 31, 2018
Leases [Abstract]          
Operating Lease, Weighted Average Discount Rate, Percent 5.00%   5.00%    
Operating Lease, Weighted Average Remaining Lease Term 3 years 1 month 6 days   3 years 1 month 6 days    
Operating Leases, Future Minimum Payments Due, Fiscal Year Maturity [Abstract]          
Operating Leases, Future Minimum Payments, Remainder of Fiscal Year $ 4,403,000   $ 4,403,000    
Operating Leases, Future Minimum Payments, Due in Two Years 8,817,000   8,817,000    
Operating Leases, Future Minimum Payments, Due in Three Years 8,750,000   8,750,000    
Operating Leases, Future Minimum Payments, Due in Four Years 3,905,000   3,905,000    
Operating Leases, Future Minimum Payments, Due in Five Years 1,040,000   1,040,000    
Thereafter 0   0    
Total minimum payments 26,915,000   26,915,000    
Less: imputed interest (2,063,000)   (2,063,000)    
Less: unrealized translation loss     (4,000)    
Operating Lease, Liability 24,848,000   24,848,000    
Operating Lease, Liability, Current, Statement of Financial Position [Extensible List] (8,333,000)   (8,333,000)   $ (1,214,000)
Operating Lease, Liability, Noncurrent 16,515,000   16,515,000   $ 4,097,000
Lessee, Operating Sublease, Description [Abstract]          
Operating Leases, Future Sublease Income, Remainder of Fiscal Year 1,966,000   1,966,000    
Operating Leases, Future Sublease Income, Due in Two Years 4,036,000   4,036,000    
Operating Leases, Future Sublease Income, Due in Three Years 4,057,000   4,057,000    
Operating Leases, Future Sublease Income, Due in Four Years 782,000   782,000    
Operating Leases, Future Sublease Income, Due in Five Years 291,000   291,000    
Thereafter 0   0    
Total minimum rental income $ 11,132,000   $ 11,132,000    
Lessee, Lease, Description [Line Items]          
Lessee, Operating Lease, Renewal Term 5 years   5 years    
Lease, Cost [Abstract]          
Operating Lease, Cost $ 800,000 $ 1,100,000 $ 1,700,000 $ 2,300,000  
Right-of-Use Asset Obtained in Exchange for Operating Lease Liability     500,000    
Operating Leases, Rent Expense, Sublease Rentals $ 1,000,000.0 $ 600,000 $ 1,600,000 $ 900,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