Selected quarterly financial data (Details) - USD ($) $ / shares in Units, $ in Thousands |
3 Months Ended | 12 Months Ended | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2020 |
Sep. 30, 2020 |
Jun. 30, 2020 |
Mar. 31, 2020 |
Dec. 31, 2019 |
Sep. 30, 2019 |
Jun. 30, 2019 |
Mar. 31, 2019 |
Dec. 31, 2020 |
Dec. 31, 2019 |
Dec. 31, 2018 |
|
Disaggregation of Revenue [Line Items] | |||||||||||
Revenue | $ 380,766 | $ 306,980 | $ 264,734 | ||||||||
Operating Expenses | $ 215,238 | $ 173,535 | $ 262,512 | $ 161,250 | $ 169,243 | $ 131,891 | $ 124,280 | $ 122,723 | 812,534 | 548,138 | 380,419 |
Loss from operations | (96,374) | (55,131) | (187,273) | (92,991) | (72,784) | (60,475) | (38,758) | (69,140) | (431,768) | (241,158) | (115,685) |
Net loss attributable to common stockholders | $ (74,354) | $ (69,692) | $ (181,427) | $ (112,687) | $ (77,677) | $ (59,997) | $ (41,789) | $ (72,113) | $ (438,160) | $ (251,576) | $ (128,081) |
Basic and diluted (in dollars per share) | $ (1.08) | $ (1.03) | $ (2.78) | $ (1.81) | $ (1.37) | $ (1.06) | $ (0.75) | $ (1.29) | $ (6.64) | $ (4.27) | $ (2.75) |
Net product revenue | |||||||||||
Disaggregation of Revenue [Line Items] | |||||||||||
Revenue | $ 107,258 | $ 82,708 | $ 75,239 | $ 68,196 | $ 81,407 | $ 71,369 | $ 85,476 | $ 53,054 | $ 333,401 | $ 291,306 | $ 263,005 |
Collaboration revenue | |||||||||||
Disaggregation of Revenue [Line Items] | |||||||||||
Revenue | 7,516 | 35,000 | $ 63 | $ 15,052 | $ 47 | $ 46 | $ 529 | 42,579 | $ 15,674 | $ 1,729 | |
Royalty revenue | |||||||||||
Disaggregation of Revenue [Line Items] | |||||||||||
Revenue | $ 4,090 | $ 696 | $ 4,786 |
X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available.
|
X | ||||||||||
- Definition The amount of net income or loss for the period per each share in instances when basic and diluted earnings per share are the same amount and reported as a single line item on the face of the financial statements. Basic earnings per share is the amount of net income or loss for the period per each share of common stock or unit outstanding during the reporting period. Diluted earnings per share includes the amount of net income or loss for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
X | ||||||||||
- Definition The portion of profit or loss for the period, net of income taxes, which is attributable to the parent. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
X | ||||||||||
- Definition Generally recurring costs associated with normal operations except for the portion of these expenses which can be clearly related to production and included in cost of sales or services. Includes selling, general and administrative expense. No definition available.
|
X | ||||||||||
- Definition The net result for the period of deducting operating expenses from operating revenues. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
X | ||||||||||
- Definition Amount, excluding tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value added and excise. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|