XML 41 R29.htm IDEA: XBRL DOCUMENT v3.22.1
The Company and Summary of Significant Accounting Policies - Additional Information (Details) - USD ($)
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Summary Of Significant Accounting Policies [Line Items]      
Maximum specific allowance as percentage of invoice value for problematic customer balances 100.00%    
Allowance for doubtful accounts receivable $ 61,000,000 $ 85,000,000  
Inventory write-downs $ 0 0  
Change in Accounting Principle, Accounting Standards Update, Adopted     true
Change in Accounting Principle, Accounting Standards Update, Adoption Date     Jan. 01, 2019
Accounting Standards Update [Extensible Enumeration]     us-gaap:AccountingStandardsUpdate201602Member
Lease, Practical Expedients, Package     true
Payment terms The Company sells its products both directly to customers and through distributors generally under agreements with payment terms typically 60 days or less.    
Deferred revenue, revenue recognized $ 0 0  
Period payments due from customers 60 days    
Revenue, practical expedient, financing component true    
Payroll subsidies $ 1,120,475 1,085,066  
Rent subsidies $ 199,235 $ 89,992  
Scientific research and experimental development cost refund percentage 35.00%    
Scientific research and experimental development cost tax credit eligible percentage 15.00%    
Scientific Research and Experimental Development      
Summary Of Significant Accounting Policies [Line Items]      
Unused tax credits carried back period 3 years    
Unused tax credits forward period 20 years    
Minimum      
Summary Of Significant Accounting Policies [Line Items]      
Estimated useful lives of property and equipment 3 years    
Estimated useful lives of long-lived assets 3 years    
Maximum      
Summary Of Significant Accounting Policies [Line Items]      
Estimated useful lives of property and equipment 6 years    
Estimated useful lives of long-lived assets 10 years    
Long lived assets measurement period 1 year