XML 25 R9.htm IDEA: XBRL DOCUMENT v3.22.4
Consolidated statements of cash flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Cash flows from operating activities:      
Net income (loss) $ (92,534) $ (58,351) $ 19,808
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:      
Depreciation and amortization 10,624 10,251 9,150
Accrued interest (2,216) (94) 0
Asset write-downs and impairment of field equipment 955 649 429
Share-based compensation 106,955 94,900 75,721
Foreign currency remeasurement loss (gain) (3,256) 3,231 (699)
Decrease (increase) in accounts receivables 2,547 5,270 (30,354)
Amortization of discount (premium) (1,536) 3,101 3,260
Decrease (increase) in inventories (4,342) 2,483 (2,935)
Decrease (increase) in other long-term assets 7,107 4,519 (1,366)
Increase (decrease) in accounts payables and accrued expenses 14,257 27,777 25,470
Increase (decrease) in other long-term liabilities (7,773) (10,980) 664
Net cash provided by (used in) operating activities 30,788 82,756 99,148
Cash flows from investing activities:      
Purchase of property, equipment and field equipment (21,358) (24,170) (14,968)
Proceeds from maturity of short-term investments 1,179,289 958,000 150,000
Purchase of short-term investments (1,297,888) (1,078,664) (607,879)
Net cash provided by (used in) investing activities (139,957) (144,834) (472,847)
Cash flows from financing activities:      
Proceeds from issuance of shares, net 5,224 4,546 3,370
Proceeds from convertible note, net 0 0 558,439
Repayment of long-term debt (28) (26) (150,028)
Exercise of options 10,295 21,182 28,428
Net cash provided by (used in) financing activities 15,491 25,702 440,209
Effect of exchange rate changes on cash, cash equivalents and restricted cash (97) (188) 247
Increase (decrease) in cash, cash equivalents and restricted cash (93,775) (36,564) 66,757
Cash, cash equivalents and restricted cash at the beginning of the year 209,609 246,173 179,416
Cash, cash equivalents and restricted cash at the end of the year 115,834 209,609 246,173
Cash paid during the year for:      
Income taxes paid (refunded), net 5,480 3,110 (3,261)
Interest paid 41 101 8,686
Non-cash activities:      
Right-of-use assets obtained in exchange for lease liabilities $ 12,117 $ 5,387 $ 5,617