XML 23 R6.htm IDEA: XBRL DOCUMENT v3.20.4
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Cash flows from operating activities:      
Net loss $ (848,533) $ (83,993) $ (175,149)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:      
Depreciation and other amortization 69,964 34,212 20,544
Loss on disposal of property, plant and equipment 2,470 1,394 353
Unrealized net (gain) loss on revaluation of equity securities (1,179) 207 0
Loss on preferred stock investment 0 0 765
Deferred tax benefit (9,862) (185,109) 0
Stock-based compensation 152,906 108,483 60,264
Loss on settlement of convertible notes 7,954 10,558 0
Amortization of convertible note debt discount and issuance costs 76,479 42,256 28,564
Amortization of deferred financing costs and other liabilities (3,889) (4,467) (2,394)
Accretion (Amortization) of discount (premium) on short-term investments 1,549 (3,102) (3,516)
Amortization of acquired intangibles 93,398 16,035 2,540
Asset acquisition IPR&D expense 412,568 0 0
Intangible asset impairment charge 209,666 0 0
Non-cash lease expense 15,720 5,427 0
Changes in assets and liabilities, net of effects of acquisition:      
Accounts receivable, net (100,526) (27,633) (17,292)
Inventory, net (30,310) (19,041) (12,729)
Operating lease liabilities (8,784) (4,114) 0
Accounts payable and accrued liabilities 55,165 3,469 33,076
Other assets and liabilities 41,726 (6,237) (3,966)
Net cash provided by (used in) operating activities 136,482 (111,655) (68,940)
Cash flows from investing activities:      
Purchases of marketable securities (1,089,953) (634,117) (1,192,506)
Maturities of marketable securities 886,675 1,657,204 578,786
Purchases of property, plant and equipment (64,352) (171,802) (150,093)
Investment in privately held companies (15,947) (1,000) 0
Business combination, net of cash acquired (6,658) (973,861) (17,908)
Asset acquisition, net of cash acquired (411,421) 0 0
Other investing activities (381) (852) (578)
Net cash used in investing activities (702,037) (124,428) (782,299)
Cash flows from financing activities:      
Proceeds from issuance of convertible notes, net 1,125,547 729,477 896,430
Proceeds from exercise of common stock options 27,077 8,787 6,636
Proceeds from sale of common stock, net of issuance costs 861,701 0 0
Proceeds in connection with the Company's employee stock purchase plan 18,355 8,396 4,895
Payments on settlement of convertible notes (150,054) (493,356) 0
Proceeds from construction loan, net deferred financing costs 0 319 24,236
Other financing activities (3,005) (442) 1,945
Net cash provided by financing activities 1,879,621 253,181 934,142
Effects of exchange rate changes on cash and cash equivalents 0 0 36
Net increase in cash, cash equivalents and restricted cash 1,314,066 17,098 82,939
Cash, cash equivalents and restricted cash at the beginning of period 177,528 160,430 77,491
Cash, cash equivalents and restricted cash at the end of period 1,491,594 177,528 160,430
Supplemental disclosure of non-cash investing and financing activities:      
Property, plant and equipment acquired but not paid 2,685 10,265 33,452
Property acquired under build-to-suit lease 0 0 2,092
Unrealized loss on available-for-sale investments 771 1,322 (708)
Issuance of 136,559, 86,532, and 86,882 shares of common stock to fund the Company’s 401(k) matching contribution for 2019, 2018, and 2017, respectively 12,007 7,409 4,303
Issuance of 2,159,716 shares of common stock upon settlement of convertible notes 0 182,477 0
Retirement of equity component of convertible notes settled (64,199) (300,768) 0
Issuance of 386,293 and 17,046,159 shares of common stock in 2020 and 2019, respectively, for business combination (28,847) (1,407,080) 0
Business acquisition contingent consideration liability 0 0 3,060
Supplemental disclosure of cash flow information:      
Interest paid $ 9,384 $ 5,128 $ 4,638