XML 381 R41.htm IDEA: XBRL DOCUMENT v3.22.2.2
Accounts Receivable (Details) - USD ($)
$ in Thousands
Sep. 30, 2022
Dec. 31, 2021
Components of accounts receivable    
Accounts receivable, gross $ 172,729 $ 158,455
Allowance for doubtful accounts (36,462) (38,939)
Accounts receivable - affiliates, net 136,267 119,516
Affiliated Entity    
Components of accounts receivable    
Accounts receivable, gross 20,410 22,472
Allowance for doubtful accounts (708) (731)
Accounts receivable - affiliates, net 19,702 21,741
Retainage receivables 802 2,179
Billed    
Components of accounts receivable    
Accounts receivable, gross 112,646 112,441
Billed | Customer in Libya    
Components of accounts receivable    
Accounts receivable, gross 23,479 24,031
Billed | Affiliated Entity    
Components of accounts receivable    
Accounts receivable, gross 3,755 10,229
Unbilled    
Components of accounts receivable    
Accounts receivable, gross 60,083 46,014
Unbilled | Affiliated Entity    
Components of accounts receivable    
Accounts receivable, gross $ 16,655 $ 12,243