XML 50 R8.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Cash flows from operating activities:      
Net income (loss) $ (7,230) $ (63,559) $ (61,662)
Adjustments to reconcile net loss to net cash used in operating activities:      
Depreciation and amortization 8,460 9,006 7,677
Asset write-downs and impairment of field equipment 398 407 241
Share-based compensation 52,416 39,846 27,116
Foreign currency remeasurement loss (gain) (917) 0 0
Decrease (increase) in accounts receivables (36,496) (10,325) (21,249)
Amortization of discount (premium) (2,176) 1,022 252
Decrease (increase) in inventories (1,159) (529) 3,524
Decrease (increase) in other long-term assets 3,446 (949) (554)
Increase (decrease) in accounts payables and accrued expenses 16,883 13,713 13,310
Increase (decrease) in other long-term liabilities (7,006) 9,503 (1,789)
Net cash provided by (used in) operating activities 26,620 (1,865) (33,134)
Cash flows from investing activities:      
Purchase of property, equipment and field equipment (10,485) (6,711) (7,366)
Proceeds from maturity of short-term investments 420,661 255,000 120,000
Purchase of short-term investments (461,843) (253,782) (104,006)
Net cash provided by (used in) investing activities (51,667) (5,493) 8,628
Cash flows from financing activities:      
Proceeds from issuance of shares, net 2,467 1,835 1,540
Proceeds from long-term loan, net 0 149,150 19
Repayment of long-term loan (31) (100,084) (76)
Exercise of options and warrants 59,245 18,468 3,685
Net cash provided by financing activities 61,681 69,369 5,168
Effect of exchange rate changes on cash, cash equivalents and restricted cash 26 27 8
Increase (decrease) in cash, cash equivalents and restricted cash 36,660 62,038 (19,330)
Cash, cash equivalents and restricted cash at the beginning of the year 142,756 80,718 100,048
Cash, cash equivalents and restricted cash at the end of the year 179,416 142,756 80,718
Cash paid during the year for:      
Income taxes 11,241 20,350 10,286
Interest 13,699 $ 13,334 $ 10,162
Non-cash activities in accordance with ASC-842:      
Right-of-use assets obtained in exchange for lease liabilities $ 22,943