XML 27 R7.htm IDEA: XBRL DOCUMENT v3.22.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Cash flows from operating activities:      
Net loss from continuing operations $ (194,305) $ (144,438) $ (125,044)
Net loss from discontinued operations (7,731) (3,996) (489)
Adjustments to reconcile net loss to net cash used in operating activities of continuing operations:      
Depreciation and amortization 4,682 4,461 3,807
Stock-based compensation expense 9,207 10,850 9,885
Impairment of goodwill and intangible assets 69,419    
Change in fair value of contingent consideration 4,237    
Provision for credit losses (331) 9,513  
Amortization of debt discount 2,939 1,781 1,026
(Gain) loss on disposal of assets (150) 222 232
Write off of deferred issuance costs 648    
Loss on extinguishment of debt   10,278  
Deferred income taxes (10,848) 56 486
Changes in operating assets and liabilities, net of effect of acquisition:      
Receivables, net (2,703) (16,427) (3,738)
Prepaid expenses and other assets 4,056 5,877 864
Inventories (5,899) 3,784 (3,844)
Accounts payable and accrued expenses (19,223) (13,715) 19,345
Net cash used in operating activities of continuing operations (138,271) (127,758) (96,981)
Cash flows from investing activities of continuing operations:      
Purchase of property and equipment (8,398) (8,622) (9,714)
Payments for licenses (2,137) (214) (4,175)
Acquisition activity 1,425   853
Disposal activity 101    
Purchases of short-term investments (68,672) (161,847) (74,697)
Sale of short-term investments 197,608 56,345 99,090
Net cash provided by (used in) investing activities of continuing operations 119,927 (114,338) 11,357
Cash flows from financing activities of continuing operations:      
Proceeds from sale of stock 1,343 126,980 161,080
Proceeds from issuance of debt 783 145,126 6,464
Proceeds from issuance of warrants   7,039  
Costs incurred related to the sale of stock   (7,869) (1,103)
Costs incurred related to the issuance of debt and warrants   (9,363)  
Proceeds from exercise of stock options 1,579 1,723 1,983
Investment from non-controlling interest   198  
Repurchase of treasury stock (79)    
Repayment of finance lease obligations and long-term debt (986) (54,315) (972)
Net cash provided by financing activities of continuing operations 2,640 209,519 167,452
Net (decrease) increase in cash, cash equivalents, and restricted cash from continuing operations (15,704) (32,577) 81,828
Net cash used in operating activities of discontinued operations (4,108) (3,486) (479)
Net cash used in investing activities of discontinued operations (14,943) (4,634) (3,858)
Net cash used in financing activities of discontinued operations (178) (91) 0
Net decrease in cash and cash equivalents from discontinued operations (19,229) (8,211) (4,337)
Cash, cash equivalents, and restricted cash beginning of period 86,087 127,674 49,794
Effect of exchange rate changes on cash, cash equivalents, and restricted cash 548 (799) 389
Cash, cash equivalents, and restricted cash, end of period (See Note 5) 51,702 86,087 127,674
Supplemental cash flow disclosures      
Interest paid 20,336 6,056 4,925
Income taxes paid 108 3,066 448
Non-cash investing and financing activities:      
Accrued purchases of property and equipment from continuing operations 246 439 113
Accrued purchases of property and equipment from discontinued operations 1,679 39 370
Equity consideration in connection with acquisition 52,786   $ 748
Accrued purchases of licenses 1,350 2,850  
Accrued cost of debt issuance   750  
Property and equipment financed under finance leases   848  
ROU assets derecognized from modification of operating lease obligations $ (114) $ (468)