CONSOLIDATED STATEMENTS OF COMPREHENSIVE LOSS (Parenthetical) - USD ($) $ in Thousands  | 
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2022  | 
Dec. 31, 2021  | 
Dec. 31, 2020  | 
|
| Supplemental Income Statement Elements [Abstract] | |||
| Foreign currency translation adjustment, tax | $ 0 | $ (36) | $ (54) | 
| Service | |||
| Supplemental Income Statement Elements [Abstract] | |||
| Cost of revenue, depreciation, depletion, amortization and accretion | 55,546 | 69,401 | 85,481 | 
| Product | |||
| Supplemental Income Statement Elements [Abstract] | |||
| Cost of revenue, depreciation, depletion, amortization and accretion | 8,725 | 8,993 | 9,758 | 
| Related parties | Service | |||
| Supplemental Income Statement Elements [Abstract] | |||
| Cost of revenue, depreciation, depletion, amortization and accretion | $ 0 | $ 0 | $ 0 | 
| X | ||||||||||
- Definition Amount of expense for allocation of cost of tangible and intangible assets over their useful lives directly used in production of good and rendering of service. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef 
  | 
| X | ||||||||||
- Definition Amount of tax expense (benefit), after reclassification adjustments of gain (loss) on foreign currency translation adjustments, foreign currency transactions designated and effective as economic hedges of a net investment in a foreign entity and intra-entity foreign currency transactions that are of a long-term-investment nature, attributable to parent entity. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- References No definition available. 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  |