XML 94 R35.htm IDEA: XBRL DOCUMENT v3.22.0.1
Organization - Additional Information (Details)
$ / shares in Units, shares in Thousands, $ in Thousands
1 Months Ended 12 Months Ended
Feb. 28, 2021
USD ($)
$ / shares
shares
Jan. 31, 2021
Dec. 31, 2021
USD ($)
shares
Dec. 31, 2020
USD ($)
shares
Dec. 31, 2019
shares
Dec. 31, 2018
shares
Description Of Organization [Line Items]            
Reverse stock split, description     In January 2021, the Company’s board of directors approved an amendment to the Company’s amended and restated certificate of incorporation to effect a 1-for-4 reverse stock split of shares of the Company’s common and convertible preferred stock, which was effected on January 27, 2021.      
Reverse stock split, conversion ratio   0.25        
Proceeds from public offering of common stock, net of offering costs     $ 626,405      
Convertible preferred stock, shares outstanding | shares     0 134,113    
Accumulated deficit     $ 785,360 $ 429,432    
Cash, cash equivalents and marketable securities     746,900      
Success payment liabilities     100,100      
Contingent consideration     $ 102,500      
Convertible Preferred Stock            
Description Of Organization [Line Items]            
Convertible preferred stock, shares outstanding | shares       134,113 106,890 11,463
Common Stock            
Description Of Organization [Line Items]            
Conversion of preferred stock into common stock (in shares) | shares     134,113      
IPO            
Description Of Organization [Line Items]            
Convertible preferred stock, shares outstanding | shares 134,100          
IPO | Convertible Preferred Stock            
Description Of Organization [Line Items]            
Conversion of preferred stock into common stock (in shares) | shares 134,100          
Carrying value of converted preferred stock $ 852,900          
IPO | Common Stock            
Description Of Organization [Line Items]            
Issuance of common stock in initial public offering, net of offering costs (in shares) | shares 27,000   27,025      
Common stock price per share | $ / shares $ 25.00          
Proceeds from public offering of common stock, net of offering costs $ 626,400          
Payments of underwriting discounts and commissions 45,200          
Offering expenses $ 4,000          
Underwriters' Option To Purchase Additional Shares | Common Stock            
Description Of Organization [Line Items]            
Issuance of common stock in initial public offering, net of offering costs (in shares) | shares 3,500