XML 17 R7.htm IDEA: XBRL DOCUMENT v3.22.2.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Operating Activities    
Net loss $ (67,735) $ (27,721)
Adjustments to reconcile net loss to net cash (used in) provided by operating activities:    
Depreciation 4,710 3,475
Amortization of intangible assets 18,684 18,684
Amortization of lease right-of-use assets 3,378 3,519
Amortization of debt issuance costs 1,030 1,030
Deferred income tax benefit (17) (72)
Gain on disposal of fixed assets 29 (3)
Stock-based compensation 26,873 22,921
Unrealized foreign currency losses 4,219 1,836
Amortization of premium on short-term investments 601 773
Other liabilities   1,951
Changes in operating assets and liabilities:    
Accounts receivable, net (3,121) 494
Inventory (11,881) (4,257)
Prepaid expenses and other current assets (3,355) (5,039)
Accounts payable and accrued liabilities (1,847) 11,666
Other assets (515) 102
Net cash (used in) provided by operating activities (28,947) 29,359
Investing activities    
Purchases of short-term investments (47,256) (191,756)
Proceeds from sales and maturities of short-term investments 97,494 182,356
Purchases of property and equipment (22,044) (38,458)
Proceeds from disposal of property and equipment 96 3
Investment in company-owned life insurance (166) (1,505)
Net cash provided by (used in) investing activities 28,124 (49,360)
Financing activities    
Proceeds from exercise of stock options 2,871 24,383
Proceeds from share purchases under Employee Stock Purchase Plan 5,630 4,817
Payment of employee taxes related to vested restricted stock units (2,399) (3,670)
Principal paid on finance lease (380) (555)
Proceeds from tenant improvement allowance   12,668
Net cash provided by financing activities 5,722 37,643
Effect of exchange rate changes on cash and cash equivalents (1,927) (1,257)
Net increase in cash, cash equivalents and restricted cash 2,972 16,385
Cash, cash equivalents and restricted cash at beginning of period 110,124 106,162
Cash, cash equivalents and restricted cash at end of period 113,096 122,547
Supplemental disclosures of cash flow information    
Taxes paid 372 307
Interest paid on convertible senior notes 3,953 3,953
Other interest paid 3,350 2,983
Supplemental schedule of noncash investing and financing activities    
Purchases of property and equipment included in accounts payable and accrued liabilities $ 3,258 $ 2,244