XML 21 R8.htm IDEA: XBRL DOCUMENT v3.20.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Cash flows from operating activities:    
Net loss $ (191,839) $ (121,441)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 33,632 13,507
Loss on disposal of property, plant and equipment 650 211
Unrealized loss on revaluation of marketable equity securities 333 0
Deferred tax benefit (3,222) (984)
Stock-based compensation 69,599 36,309
Loss on settlement of convertible notes 7,954 10,558
Amortization of convertible note debt discount and issuance costs 34,638 19,798
Amortization of deferred financing costs and other liabilities (2,505) (847)
Amortization of premium on short-term investments 503 (2,580)
Amortization of acquired intangible assets 46,769 1,508
Non-cash lease expense 6,860 1,762
Changes in assets and liabilities:    
Accounts receivable, net (30,644) (18,574)
Inventory, net (20,260) (8,633)
Operating lease liabilities (4,997) (1,607)
Accounts payable and accrued liabilities (47,587) 25,725
Other assets and liabilities 43,419 (11,920)
Net cash used in operating activities (56,697) (57,208)
Cash flows from investing activities:    
Purchases of marketable securities (640,085) (511,587)
Maturities and sales of marketable securities 268,483 447,674
Purchases of property, plant and equipment (33,455) (79,448)
Business combination, net of cash acquired (6,654) 0
Other investing activities (516) (380)
Net cash used in investing activities (412,227) (143,741)
Cash flows from financing activities:    
Proceeds from issuance of convertible notes, net 1,125,547 729,479
Proceeds from exercise of common stock options 10,938 4,998
Proceeds in connection with the Company’s employee stock purchase plan 9,799 4,137
Payments on settlement of convertible notes (150,054) (493,356)
Other financing activities (626) 319
Net cash provided by financing activities 995,604 245,577
Net increase in cash, cash equivalents and restricted cash 526,680 44,628
Cash and cash equivalents, beginning of period 177,528 160,430
Cash and cash equivalents, end of period 704,208 205,058
Supplemental disclosure of non-cash investing and financing activities:    
Property, plant and equipment acquired but not paid 8,684 24,402
Unrealized gain on available-for-sale investments, before tax 1,564 4,128
Issuance of 136,559 and 86,532 shares of common stock to fund the Company’s 401(k) matching contribution for 2019 and 2018, respectively 12,007 7,409
Issuance of 2,158,991 shares of common stock upon settlement of convertible notes 0 182,435
Retirement of equity component of convertible notes settled (64,199) (300,768)
Issuance of common stock for business combinations 28,597 0
Supplemental disclosure of cash flow information:    
Interest paid $ 3,908 $ 1,216