Annual report pursuant to Section 13 and 15(d)

Fair Value Measurement - Schedule of Assets and Liabilities Measured at Fair Value on a Recurring Basis (Details)

v3.22.0.1
Fair Value Measurement - Schedule of Assets and Liabilities Measured at Fair Value on a Recurring Basis (Details) - USD ($)
$ in Thousands
Dec. 31, 2021
Dec. 31, 2020
Jun. 30, 2020
Debt derivative liabilities      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Debt derivative liabilities $ 5,562   $ 2,387
Recurring      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Total assets 73,342 $ 78,243  
Total liabilities 5,562 2,497  
Recurring | Money market funds      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Total assets 22,012 23,044  
Recurring | U.S. government securities      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Total assets 12,081 12,123  
Recurring | Corporate bonds      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Total assets   6,408  
Recurring | Commercial paper      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Total assets 39,249 36,668  
Recurring | Debt derivative liabilities      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Debt derivative liabilities 5,562 2,497  
Recurring | Level 1      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Total assets 34,093 35,167  
Total liabilities 0 0  
Recurring | Level 1 | Money market funds      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Total assets 22,012 23,044  
Recurring | Level 1 | U.S. government securities      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Total assets 12,081 12,123  
Recurring | Level 1 | Corporate bonds      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Total assets   0  
Recurring | Level 1 | Commercial paper      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Total assets 0 0  
Recurring | Level 1 | Debt derivative liabilities      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Debt derivative liabilities 0 0  
Recurring | Level 2      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Total assets 39,249 43,076  
Total liabilities 0 0  
Recurring | Level 2 | Money market funds      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Total assets 0 0  
Recurring | Level 2 | U.S. government securities      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Total assets 0 0  
Recurring | Level 2 | Corporate bonds      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Total assets   6,408  
Recurring | Level 2 | Commercial paper      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Total assets 39,249 36,668  
Recurring | Level 2 | Debt derivative liabilities      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Debt derivative liabilities 0 0  
Recurring | Level 3      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Total assets 0 0  
Total liabilities 5,562 2,497  
Recurring | Level 3 | Money market funds      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Total assets 0 0  
Recurring | Level 3 | U.S. government securities      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Total assets 0 0  
Recurring | Level 3 | Corporate bonds      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Total assets   0  
Recurring | Level 3 | Commercial paper      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Total assets 0 0  
Recurring | Level 3 | Debt derivative liabilities      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Debt derivative liabilities $ 5,562 $ 2,497