v3.23.1
Net Loss Per Share (Details) - shares
3 Months Ended
Mar. 31, 2023
Mar. 31, 2022
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Total potentially dilutive shares excluded from net income (loss) per share 17,223,451 17,340,176
2026 Unsecured Convertible Senior Notes    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Total potentially dilutive shares excluded from net income (loss) per share 12,172,008 12,172,008
2023 Unsecured Convertible Senior Notes    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Total potentially dilutive shares excluded from net income (loss) per share 4,941,739 4,941,739
Outstanding options to purchase common stock    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Total potentially dilutive shares excluded from net income (loss) per share 17,454 4,429
Employee restricted stock units    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Total potentially dilutive shares excluded from net income (loss) per share 92,250 222,000