XML 18 R4.htm IDEA: XBRL DOCUMENT v3.22.0.1
Consolidated Statements of Operations and Comprehensive Loss - USD ($)
shares in Thousands, $ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Revenues      
Total revenues $ 625,486 $ 391,005 $ 302,328
Cost and expenses      
Research and development 264,208 100,035 51,357
Selling, general and administrative 511,034 303,627 206,176
Gain from disposal of business     (14,388)
Total cost and expenses 1,093,660 607,282 418,615
Loss from operations (468,174) (216,277) (116,287)
Interest expense (8,305) (15,082) (10,693)
Interest and other income, net 5,381 7,562 4,152
Loss on debt extinguishment   (5,848)  
Loss before income taxes (471,098) (229,645) (122,828)
Income tax expense (618) (98) (1,999)
Net loss (471,716) (229,743) (124,827)
Unrealized gain (loss) on available-for-sale securities, net of tax (6,546) 3,340 1,471
Comprehensive loss $ (478,262) $ (226,403) $ (123,356)
Net loss per share (Note 14):      
Basic (in dollars per share) $ (5.21) $ (2.84) $ (1.79)
Diluted (in dollars per share) $ (5.21) $ (2.84) $ (1.79)
Weighted-average number of shares used in computing basic and diluted net loss per share:      
Basic (in shares) 90,558 81,011 69,555
Diluted (in shares) 90,558 81,011 69,555
Product      
Revenues      
Total revenues $ 567,149 $ 367,211 $ 269,881
Cost and expenses      
Cost of revenues 302,663 185,865 162,604
Licensing and other      
Revenues      
Total revenues 58,337 23,794 32,447
Cost and expenses      
Cost of revenues $ 15,755 $ 17,755 $ 12,866