XML 21 R6.htm IDEA: XBRL DOCUMENT v3.21.2
Consolidated Statements of Cash Flows (unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Operating activities    
Net loss $ (208,962) $ (128,218)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation 4,773 4,534
Amortization of intangible assets 2,526 2,497
Stock-based compensation expense 22,270 18,470
Loss on extinguishment of debt 17,689 0
Amortization of debt issuance costs 807 698
Accretion of debt discount 12,389 9,363
Finance lease amortization expense 539 720
Noncash operating lease expense 9,550 5,772
Changes in operating assets and liabilities:    
Accounts receivable (1,855) 4,059
Inventory (11,557) (7,160)
Prepaid expenses and other current assets (7,484) 5,424
Other assets (22,623) (3,251)
Accounts payable (11,158) 12,175
Accrued expenses and other (1,302) (12,852)
Accrued compensation (9,327) (6,119)
Net cash used in operating activities (203,725) (93,888)
Investing activities    
Purchase of fixed assets (4,666) (4,560)
Net cash used in investing activities (4,666) (4,560)
Financing activities    
Proceeds from exercise of stock options, ESPP, and RSU vesting 13,527 7,568
Proceeds from issuance of common stock, net 269,886 245,912
Payment on extinguishment of 1.75% convertible senior notes due 2025 (12,578) 0
Payment of principal on 1.75% convertible senior notes due 2025 (225,000) 0
Proceeds from issuance of 0.75% convertible senior notes due 2028 575,000 0
Payment of debt issuance costs (16,013) 0
Payments of finance lease principal (522) (590)
Net cash provided by financing activities 604,300 252,890
Effect of exchange rates on cash and cash equivalents (338) 40
Net increase in cash and cash equivalents 395,571 154,482
Cash and cash equivalents at beginning of period 532,756 487,429
Cash and cash equivalents at end of period 928,327 641,911
Supplemental disclosures of cash flow information:    
Cash paid for interest 5,911 4,819
Cash paid for income taxes $ 997 $ 472