XML 45 R31.htm IDEA: XBRL DOCUMENT v3.22.2
Organization - Additional Information (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended 41 Months Ended
Feb. 28, 2021
Mar. 31, 2021
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2022
Dec. 31, 2021
Dec. 31, 2020
Description Of Organization [Line Items]              
Proceeds from public offering of common stock, net of offering costs       $ 626,405      
Accumulated deficit     $ 889,273   $ 889,273 $ 785,360  
Cash, cash equivalents and marketable securities     579,600   579,600    
Success payment liabilities     (69,008) 32,469 31,100    
Contingent consideration     $ (4,358) $ 18,556 $ 98,100    
Convertible Preferred Stock              
Description Of Organization [Line Items]              
Outstanding convertible preferred stock (in shares)             134,113
Common Stock              
Description Of Organization [Line Items]              
Conversion of preferred stock into common stock (in shares)   134,113          
IPO              
Description Of Organization [Line Items]              
Outstanding convertible preferred stock (in shares) 134,100            
IPO | Convertible Preferred Stock              
Description Of Organization [Line Items]              
Conversion of preferred stock into common stock (in 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) 27,000 27,025          
Common stock price per share $ 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) 3,500