XML 54 R6.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 $ 27,193 $ 18,722 $ 31,816
Adjustments to reconcile net income to net cash provided by operating activities:      
Depreciation and amortization 5,991 5,910 4,290
Non-cash operating lease cost 1,179
Loss on disposal of fixed assets 927 152 150
Loss on impairment of intangible asset 389
Stock-based compensation expense 6,087 11,046 5,807
Deferred income taxes 794 (1,817) (1,198)
Provision (recovery) for doubtful accounts (499) 57 1,609
Provision for inventory 1,612 4,419 695
Amortization of premium and accretion of discount on investments and cash equivalents (25) (371)
Changes in operating assets and liabilities:      
Accounts receivable (1,839) 2,914 2,674
Inventories (5,585) (7,577) (6,521)
Prepaid expenses, other current and long-term assets (1,641) 899 (1,454)
Accounts payable 767 (1,671) 3,890
Operating lease liabilities (1,065)
Accrued expenses, other current and long-term liabilities 3,805 1,313 (1,313)
Income taxes (1,085) 922 367
Net cash provided by operating activities 37,005 34,918 40,812
Cash flows from investing activities:      
Proceeds from maturities of investments 146,366 46,000 41,500
Purchases of investments (103,848) (91,601) (45,000)
Purchases of property and equipment (2,827) (4,656) (8,980)
Net cash provided by (used in) investing activities 39,691 (50,257) (12,480)
Cash flows from financing activities:      
Repurchases of common stock (30,000) (30,000)
Cash paid for tax withheld on vested restricted stock awards (293) (1,790)
Proceeds from exercises of equity awards 22,151 2,886 314
Net cash provided by (used in) provided by financing activities (8,142) (28,904) 314
Exchange rate impact on cash (133) 29 349
Increase (Decrease) in cash and cash equivalents 68,421 (44,214) 28,995
Cash and cash equivalents at beginning of period 89,042 133,256 104,261
Cash and cash equivalents at end of period 157,463 89,042 133,256
Supplemental disclosure of cash flow information:      
Cash paid for income taxes 9,257 5,560 15,088
Right-of-use assets obtained in exchange for operating lease liabilities as of January 1, 2019 24,110
Non-cash Investing Activities:      
Purchases of property and equipment included in accounts payable and accrued expenses $ 137 $ 351 $ 1,891