| Acquisition (Details - Purchase consideration) - USD ($) $ in Thousands | 6 Months Ended | ||
|---|---|---|---|
| Apr. 06, 2022 | Jan. 13, 2022 | Jun. 30, 2022 | |
| Business Acquisition [Line Items] | |||
| cash consideration at closing | $ 52,700 | $ 4,100 | |
| Net working capital adjustment | 269 | ||
| Total | $ 52,650 | ||
| Ameba Acquisition [Member] | |||
| Business Acquisition [Line Items] | |||
| Total | 4,069 | ||
| Stock Purchase Agreements [Member] | |||
| Business Acquisition [Line Items] | |||
| cash consideration at closing | 3,500 | ||
| Asset Purchase Agreement [Member] | |||
| Business Acquisition [Line Items] | |||
| cash consideration at closing | $ 300 | $ 300 | 
| X | ||||||||||
| 
- References No definition available. 
 | 
| X | ||||||||||
| 
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Amount of consideration transferred, consisting of acquisition-date fair value of assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interest issued by the acquirer. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition The cash outflow associated with the acquisition of business during the period. The cash portion only of the acquisition price. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 |