XML 17 R6.htm IDEA: XBRL DOCUMENT v3.21.2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Cash flows from operating activities    
Net loss $ (110,319) $ (130,164)
Adjustments to reconcile net loss to net cash used in operating activities:    
Stock-based compensation 35,189 41,855
Amortization of premiums and accretion of discounts on investment securities 1,176 481
Amortization of intangible assets 739 739
(Gain) loss on strategic investment (323) 1,060
Depreciation 1,085 648
Changes in operating assets and liabilities:    
Accounts receivable, net (3,120) (8,004)
Interest and other receivables 1,582 (250)
Inventory (878) (20)
Prepaid expenses (512) (6,240)
Operating lease right-of-use assets 3,289 2,025
Other assets 9 66
Accounts payable 572 (756)
Accrued liabilities (11,331) 11,853
Operating lease liabilities (2,583) (862)
Long-term liabilities (51) 1,684
Net cash used in operating activities (85,476) (85,885)
Cash flows from investing activities    
Purchases of investment securities (202,526) (100,813)
Maturities of investment securities 217,317 261,153
Purchases of property and equipment (1,121) (3,867)
Net cash provided by investing activities 13,670 156,473
Cash flows from financing activities    
Proceeds from issuance of common stock, net of issuance costs 12,731 51,155
Net cash provided by financing activities 12,731 51,155
Effect of exchange rate changes on cash 3 1
Net (decrease) increase in cash, cash equivalents and restricted cash (59,072) 121,744
Cash, cash equivalents and restricted cash    
Beginning of period 331,798 194,467
End of period $ 272,726 316,211
Supplemental disclosure of noncash information:    
Property and equipment purchases in accounts payable and accrued liabilities   $ 288