XML 17 R7.htm IDEA: XBRL DOCUMENT v3.22.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2022
Mar. 31, 2021
Cash flows from operating activities:    
Net loss $ (66,218) $ (2,613)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Stock-based compensation 7,778 6,501
Depreciation 7,040 6,198
Amortization of intangible assets 3,786 4,615
Non-cash interest expense and amortization of convertible debt issuance costs 105 1,874
Loss on extinguishment of debt 66,497 0
Loss on fair value adjustment of derivatives, net 8,283 0
Deferred income taxes 648 416
Loss on equity investment 324 200
Realized loss from sale of marketable securities 688 0
Gain on disposal of property, plant and equipment (6) 0
Change in fair value of earn-out liability 1,200 0
Change in operating assets and liabilities:    
Accounts receivable (7,167) (8,034)
Unbilled receivables 33,511 30,767
Prepaids and other current assets (663) 3,589
Inventories 2,318 4,540
Accounts payable 1,104 297
Accrued salaries and benefits and other liabilities (6,853) (7,861)
Income taxes payable (4,311) (4,786)
Deferred revenue (4,152) 3,223
Operating lease liabilities (1,298) 532
Net cash provided by operating activities 42,614 39,458
Cash flows from investing activities:    
Purchases of property, plant, and equipment (1,683) (3,517)
Acquisition of intangible assets (3,000) 0
Purchases of marketable securities (39,433) (159,755)
Maturities of marketable securities 44,781 106,475
Proceeds from sales of marketable securities 204,091 8,332
Net cash provided by (used in) investing activities 204,756 (48,465)
Cash flows from financing activities:    
Proceeds received from issuance of common stock under employee stock plans 321 920
Payments of taxes on restricted stock units (15,821) (8,057)
Payments under installment payment arrangements (3,220) (3,119)
Repurchase of convertible senior notes (174,454) 0
Proceeds from retirement of convertible senior note hedges 72,415 0
Payments for retirement of warrants (55,148) 0
Net cash used in financing activities (175,907) (10,256)
Effect of exchange rate changes on cash and cash equivalents (224) (144)
Net increase (decrease) in cash, cash equivalents and restricted cash 71,239 (19,407)
Cash, cash equivalents and restricted cash at beginning of period 108,264 129,324
Cash, cash equivalents and restricted cash at end of period 179,503 109,917
Non-cash investing and financing activities during the period:    
Property, plant and equipment received and accrued in accounts payable and other liabilities $ 14,238 $ 15,210