XML 45 R33.htm IDEA: XBRL DOCUMENT v3.19.2
Accounts Receivable and Allowance for Doubtful Accounts (Tables)
6 Months Ended
Jun. 30, 2019
Receivables [Abstract]  
Schedule of Allowance for Doubtful Accounts
Movements in the allowance for doubtful accounts are as follows (in thousands):

 
Three Months Ended June 30,
 
Six Months Ended June 30,
 
2019
 
2018
 
2019
 
2018
Beginning balance
$
2,101

 
$
329

 
$
1,114

 
$
363

Provision (recoveries)
249

 
268

 
1,236

 
237

Write-offs
(196
)
 

 
(196
)
 
(3
)
Ending balance
$
2,154

 
$
597

 
$
2,154

 
$
597