XML 36 R48.htm IDEA: XBRL DOCUMENT v3.20.1
10. Income taxes (Details - Unrecognized tax benefits) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Income Tax Disclosure [Abstract]    
Unrecognized tax benefits, beginning balance $ 63 $ 181
Additions based on tax positions of prior years 79 0
Reduction for tax positions of prior years 0 (118)
Unrecognized tax benefits, ending balance $ 142 $ 63