XML 82 R66.htm IDEA: XBRL DOCUMENT v3.22.0.1
INCOME TAXES (Details - Unrecognized tax benefit) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward]      
Unrecognized tax benefit, Balance at beginning of year $ 5,484 $ 4,320 $ 4,629
Increases related to prior year tax positions 317 1,382  
Decrease related to prior year tax positions     (34)
Increases related to current year tax positions 0 3 119
Expiration of the statute of limitations for the assessment of taxes (713) (221) (393)
Increase (decrease) related to change in rate 0 0 (1)
Unrecognized tax benefit, Balance at end of year $ 5,088 $ 5,484 $ 4,320