XML 112 R47.htm IDEA: XBRL DOCUMENT v3.22.0.1
Basis of presentation and significant accounting policies - Additional Information (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Significant Accounting Policies [Line Items]        
Allowance for credit losses $ 0 $ 0 $ 0  
Inventory write-offs 1,045 616 310  
Impairment of long-lived assets 0 0 0  
Cost related to charitable care $ 4,204 3,653 2,847  
Expected dividend yield 0.00%      
Percent of employer matching contribution 50.00%      
Contributions $ 1,967 1,589 978  
Pension expense 1,494 1,588 984  
Severance costs 1,466 1,130 784  
Stockholders' equity 410,494 476,526 217,790 $ 112,259
Additional paid-in capital        
Significant Accounting Policies [Line Items]        
Stockholders' equity 1,099,589 1,111,435 871,442 757,314
Retained earnings (accumulated deficit)        
Significant Accounting Policies [Line Items]        
Stockholders' equity $ (685,926) (631,077) $ (650,885) $ (643,655)
Cumulative Effect, Period of Adoption, Adjustment        
Significant Accounting Policies [Line Items]        
Stockholders' equity   (128,972)    
Cumulative Effect, Period of Adoption, Adjustment | Additional paid-in capital        
Significant Accounting Policies [Line Items]        
Stockholders' equity   (132,474)    
Cumulative Effect, Period of Adoption, Adjustment | Retained earnings (accumulated deficit)        
Significant Accounting Policies [Line Items]        
Stockholders' equity   $ 3,502    
Restricted Share Unit        
Significant Accounting Policies [Line Items]        
Stock awards granted, vesting period 3 years      
Options        
Significant Accounting Policies [Line Items]        
Stock awards granted, vesting period 4 years      
Expected dividend yield 0.00% 0.00% 0.00%  
Shipping and Handling        
Significant Accounting Policies [Line Items]        
Direct costs included in sales and marketing costs $ 2,958 $ 3,224 $ 2,688  
Field equipment under operating leases        
Significant Accounting Policies [Line Items]        
Equipment write-downs included in cost of revenue $ 639 $ 409 $ 327  
Minimum | Field equipment under operating leases        
Significant Accounting Policies [Line Items]        
Property and equipment useful life 18 months      
Maximum        
Significant Accounting Policies [Line Items]        
Employer matching contribution, percent of employees' annual salary 3.00%      
Maximum | Field equipment under operating leases        
Significant Accounting Policies [Line Items]        
Property and equipment useful life 36 months