LEASES (Details - Cash flow effect) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Sep. 30, 2021 |
Sep. 30, 2020 |
Sep. 30, 2021 |
Sep. 30, 2020 |
|
| Operating cash flow information: | ||||
| Cash paid for amounts included in the measurement of operating lease liabilities | $ 52 | $ 41 | $ 90 | $ 123 |
| Cash paid for amounts included in the measurement of financing lease liabilities | 0 | 0 | 0 | 0 |
| Non-cash activity: | ||||
| Right-of-use assets obtained in exchange for operating lease obligations | 0 | 681 | 382 | 681 |
| Right-of-use assets obtained in exchange for financing lease obligations | $ 6,383 | $ 0 | $ 6,383 | $ 0 |