XML 79 R53.htm IDEA: XBRL DOCUMENT v3.22.0.1
Shareholders' Equity - Additional Information (Detail) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended 120 Months Ended
Jan. 31, 2022
Jan. 27, 2020
Jun. 24, 2019
Jun. 07, 2018
Jul. 14, 2006
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2028
Jan. 05, 2022
Mar. 31, 2018
Temporary Equity [Line Items]                      
Preferred stock, shares issued           0 0        
Preferred stock, shares outstanding           0 0        
Warrant exercise price     $ 0.0001                
Shares granted with respect to maximum fixed amount equal, percentage       20.00%              
Maximum number of common shares reserved for issuance       5,686,097              
Shares issuable upon exercise of stock options                     3,686,097
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant           952,632 1,242,038        
Proceeds from stock options exercised           $ 6,428 $ 7,111 $ 5,498      
Stock-based compensation           38,275 26,945 12,676      
Derivative liability, classified stock options and ESPP           $ (27,517) $ 2,171 $ 36,320      
Expected average life of options           6 years 18 days 6 years 14 days 6 years 10 days      
Option exercised intrinsic value           $ 10,998 $ 19,446 $ 9,416      
Unamortized compensation expense related to unvested options           $ 33,960          
Remaining unamortized compensation expense, weighted-average period           1 year 10 months 24 days          
Maximum                      
Temporary Equity [Line Items]                      
Expected average life of options           10 years          
Forecast                      
Temporary Equity [Line Items]                      
Maximum number of common shares reserved for issuance increase in percentage                 4.00%    
Offering                      
Temporary Equity [Line Items]                      
Number of common shares issued   5,824,729 7,013,892                
Share issued price per share (in dollars per share)   $ 46.50 $ 18.00                
Warrants issued price per pre funded warrant (in dollars per share)   $ 46.4999 $ 17.9999                
Net proceeds from issuance   $ 300,910 $ 188,005                
Payments of stock issuance costs   $ 19,940 $ 13,245                
Warrant exercise price   $ 0.0001                  
Offering | Subsequent Event                      
Temporary Equity [Line Items]                      
Class of warrant or right, pre-funded (in shares) 3,340,000                    
Warrants issued price per pre funded warrant (in dollars per share) $ 7.9999                    
Net proceeds from issuance $ 107,600                    
Over-Allotment Option                      
Temporary Equity [Line Items]                      
Number of shares issued to underwriters   900,000 1,458,336                
Class of warrant or right, pre-funded (in shares)   1,075,271 4,166,690                
Original Stock Option Plan                      
Temporary Equity [Line Items]                      
Shares granted with respect to maximum fixed amount equal, percentage         20.00%            
Share-based compensation arrangement by share-based payment award, expiration period           10 years          
Inducement Plan | Subsequent Event                      
Temporary Equity [Line Items]                      
Common stock, capital shares reserved for future issuance                   750,000  
Restricted Stock Units (RSUs)                      
Temporary Equity [Line Items]                      
Shares available for issuance, vesting period             3 years        
Nonvested award, cost not yet recognized, amount           $ 5,224          
Nonvested award, cost not yet recognized, period for recognition           1 year 5 months 19 days          
Compensation charge           $ 3,101 $ 1,387 $ 0      
Employees Stock Purchase Plan                      
Temporary Equity [Line Items]                      
Compensation charge           $ 1,016 803        
Maximum eligible employees contribution under ESPP           15.00%          
Purchase of shares under ESPP, maximum limit for each employee           $ 25          
Total amount contributed by ESPP participants           $ 1,243 $ 926