v3.24.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Cash Flows From Operating Activities:      
Net loss $ (99,587) $ (37,333) $ (275,528)
Adjustments to reconcile net loss to net cash used in operating activities:      
Goodwill impairment 49,569    
Depreciation and amortization 27,487 22,765 20,247
Amortization of debt discount 2,526 2,581 1,236
Non-cash operating lease expense 5,103 3,645 3,367
Unrealized (gain) loss on investments in equity securities (1,308) 11,406 1,386
Realized loss on available-for-sale debt securities 67 102 81
Stock-based compensation expense 22,808 20,082 15,345
Loss on disposal of property and equipment 954 800 542
(Gain) loss on extinguishment of debt, net (5,679)   251,754
Gain on insurance settlement (2,642) (4,815)  
Change in expected credit losses 822 234 26
Excess and obsolete inventory   651  
Insurance proceeds for operations 1,212 9,883  
Change in contingent consideration (890) 216  
Changes in operating assets and liabilities:      
Accounts receivable 3,673 (4,137) (7,270)
Inventories 1,508 (14,204) (5,979)
Prepaid expenses and other current assets (103) (1,598) 3,056
Deposits (663) (60) 211
Operating lease liabilities (4,595) (3,076) (2,805)
Accounts payable and other accrued expenses (2,766) (6,483) (398)
Accrued compensation and related expenses 2,884 (1,569) 2,522
Deferred revenue 842 (530) 102
Net deferred tax (asset) liability (1,979) (411) 231
Net cash provided by (used in) operating activities (757) (1,851) 8,126
Cash Flows From Investing Activities:      
Purchases of property and equipment (38,785) (22,107) (23,882)
Insurance proceeds for loss of fixed assets 976 3,000  
Purchases of short-term investments (42,677) (163,788) (482,707)
Sales/maturities of short-term investments 129,987 131,858 44,000
Patent and trademark costs (871) (614) (255)
Software development costs (5,244) (1,476) (870)
Cash paid for acquisitions (7,341) (6,554) (5,540)
Net cash provided by (used in) investing activities 36,045 (59,681) (469,254)
Cash Flows From Financing Activities:      
Proceeds from exercise of stock options 1,478 2,048 8,995
Repurchase of common stock   (37,960)  
Cash paid for repurchase of 2026 Senior Notes (25,003)    
Proceeds from issuance of Series C convertible preferred stock, net of issuance costs     248,911
Proceeds from public offering, net of offering costs     269,825
Repayment of finance lease liabilities (202) (82) (60)
Repayment of notes payable (71) (3,180) (3,397)
Proceeds from issuance of convertible senior notes     40,068
Net cash provided by (used in) financing activities (23,798) (39,174) 564,342
Effect of exchange rates on cash and cash equivalents (1,739) (1,800) (986)
Net change in cash and cash equivalents 9,751 (102,506) 102,228
Cash and cash equivalents - beginning of period 36,595 139,101 36,873
Cash and cash equivalents - end of period 46,346 36,595 139,101
Supplemental Disclosure of Cash Flow Information:      
Cash paid for interest 3,399 3,628 3,297
Cash paid for income taxes 1,462 1,979 1,315
Supplemental Disclosure of Non-Cash Financing Activities:      
Net unrealized gain (loss) on available-for-sale debt securities 6,742 23,439 3,958
Reclassification of realized gain (loss) on available-for-sale debt securities to earnings (3,008) 46 27
Fixed assets included in accounts payable and accrued liabilities 442 1,003 1,412
Paid-in-kind preferred stock dividend, including beneficial conversion feature 8,000 8,000 8,196
Intangible assets included in property and equipment 8,710    
Purchase of equipment through finance lease obligations 1,112    
Operating lease right-of-use assets and operating lease liabilities $ 11,109 $ 12,384 10,175
Common stock issued for conversion of debt and accrued interest     $ 765

Source